Issue #2567 has been updated by Aaron Patterson.


Setting encoding based on 'Content-Type' header scares me.  It is common that the webserver will report one encoding, and the HTML will contain a meta tag indicating a *completely different* encoding.  The encoding indicated in the http header could conflict with the encoding in the HTML document.  It seems safer to let clients of 'net/http' figure out which encoding is correct. 
----------------------------------------
http://redmine.ruby-lang.org/issues/show/2567

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