http_url_proxy_adapter_spec.rb
3.65 KB
-
Rely on URI content_type only when provided. · f3841743
As described in #2118, `OpenURI::Meta#content_type` will return `application/octet-stream` when no `content-type` header is set. Using the original `meta` fixes this issue.
Jean-Philippe Doyle committed