Project

General

Profile

Actions

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.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
-
Backport:
[ruby-core:39704]

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

httputils.rb.patch (645 Bytes) httputils.rb.patch postmodern (Hal Brodigan), 09/26/2011 05:12 AM
httputils.rb.patch (646 Bytes) httputils.rb.patch postmodern (Hal Brodigan), 09/26/2011 11:22 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0