Bug #5365
closed
WEBrick lacks the application/javascript and image/svg+xml MIME types.
Added by postmodern (Hal Brodigan) over 12 years ago.
Updated over 12 years ago.
Description
WEBrick::HTTPUtils::DefaultMimeTypes (webrick/httputils.rb) does not define MIME types for the file extensions 'js' and 'svg'. This forces projects that use WEBrick directly (such as Jekyll) to define these MIME types.
Files
Oops, you are correct. Patch re-uploaded.
- Status changed from Open to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r33339.
Hal, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
- lib/webrick/httputils.rb: Add MIME Type definition of .js and .svg.
patched by Hal Brodigan. [ruby-core:39704] [Bug #5365]
- ruby -v changed from ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-linux] to -
Also available in: Atom
PDF
Like0
Like0Like0Like0Like0