Actions
Bug #4685
closedWEBrick::HTTPServlet::ERBHandler should allow ERB documents to set content_type
Bug #4685:
WEBrick::HTTPServlet::ERBHandler should allow ERB documents to set content_type
Description
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.
Files
Updated by naruse (Yui NARUSE) over 14 years ago
- Status changed from Open to Assigned
- Assignee set to drbrain (Eric Hodel)
It seems reasonable, please commit it unless anyone object to this.
Updated by drbrain (Eric Hodel) over 14 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]
Actions