static HttpMethod ParseHttpMethod(string method) => HttpMethods.GetValue(method, m => new FormatException($"'{m}' is not a valid HTTP method."));