/// <summary>
 /// Return 400 status code - should be represented in the client as an error
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 public static Error Head400(this IHttpClientFailure operations)
 {
     return(operations.Head400Async().GetAwaiter().GetResult());
 }