Issue #4685 has been updated by Yui NARUSE.

Status changed from Open to Assigned
Assignee set to Eric Hodel

It seems reasonable, please commit it unless anyone object to this.
----------------------------------------
Bug #4685: WEBrick::HTTPServlet::ERBHandler should allow ERB documents to set content_type
http://redmine.ruby-lang.org/issues/4685

Author: Eric Hodel
Status: Assigned
Priority: Normal
Assignee: Eric Hodel
Category: lib
Target version: 1.9.3
ruby -v: ruby 1.9.3dev (2011-05-13 trunk 31536) [x86_64-darwin10.7.0]


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.


-- 
http://redmine.ruby-lang.org