Issue #2567 has been updated by Yui NARUSE.


You can get Content-Type's parameter by result.type_params

I'm nervous about setting encoding to result body of net/http
because charset of Content-Type doesn't show true encoding of the content.
http://wiki.whatwg.org/wiki/Web_Encodings
----------------------------------------
http://redmine.ruby-lang.org/issues/show/2567

----------------------------------------
http://redmine.ruby-lang.org