uri_adapter.rb
1.69 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