From: Yui NARUSE Date: 2011-05-29T23:24:11+09:00 Subject: [ruby-core:36547] [Ruby 1.9 - Bug #4685][Assigned] WEBrick::HTTPServlet::ERBHandler should allow ERB documents to set content_type 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