WEBrick::HTTPServlet::ERBHandler should allow ERB documents to set content_type
Currently setting the MIME type in an rhtml file processed by ERBHandler is not possible as the content_type is always overridden. The ERBHandler should allow this to be overridden.
- lib/webrick/httpservlet/erbhandler.rb: Allow the ERB document to alter the content-type of the response. [Ruby 1.9 - Bug #4685]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Updated by drbrain (Eric Hodel) almost 8 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100