WEBrick::HTTPServlet::ERBHandler should allow ERB documents to set content_type
|ruby -v:||ruby 1.9.3dev (2011-05-13 trunk 31536) [x86_64-darwin10.7.0]||Backport:|
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]
#3 Updated by Eric Hodel over 4 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100