Project

General

Profile

Actions

Bug #4685

closed

WEBrick::HTTPServlet::ERBHandler should allow ERB documents to set content_type

Added by drbrain (Eric Hodel) over 13 years ago. Updated over 13 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 1.9.3dev (2011-05-13 trunk 31536) [x86_64-darwin10.7.0]
Backport:
[ruby-core:36159]

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

erbhandler.allow_content_type_override.patch (583 Bytes) erbhandler.allow_content_type_override.patch Patch to allow the content_type to be overridden drbrain (Eric Hodel), 05/13/2011 07:38 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0