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.
Updated by drbrain (Eric Hodel) over 9 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r32117.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
- lib/webrick/httpservlet/erbhandler.rb: Allow the ERB document to alter the content-type of the response. [Ruby 1.9 - Bug #4685]