WEBrick::HTTPServlet::ERBHandler should allow ERB documents to set content_type
ruby 1.9.3dev (2011-05-13 trunk 31536) [x86_64-darwin10.7.0]
2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
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