lib/httpx/connection/http1.rb in httpx-1.2.4 vs lib/httpx/connection/http1.rb in httpx-1.2.6
- old
+ new
@@ -385,9 +385,10 @@
end
UPCASED = {
"www-authenticate" => "WWW-Authenticate",
"http2-settings" => "HTTP2-Settings",
+ "content-md5" => "Content-MD5",
}.freeze
def capitalized(field)
UPCASED[field] || field.split("-").map(&:capitalize).join("-")
end