On 2011/09/26 9:52, Yui NARUSE wrote:
>
> Issue #5365 has been updated by Yui NARUSE.
>
>
> RFC3203 says SVG's MIME Type is image/svg+xml, isn't it?

I think you meant RFC 3023.

> http://www.ietf.org/rfc/rfc3023.txt

No, that uses this just for an example. For the actual registration, 
please see:
http://www.iana.org/assignments/media-types/image/index.html and
http://www.w3.org/TR/SVG/mimereg.html.

(For application/javascript, please see 
http://www.rfc-editor.org/rfc/rfc4329.txt and 
http://www.iana.org/assignments/media-types/application/index.html.)

Regards,    Martin.


> ----------------------------------------
> Bug #5365: WEBrick lacks the application/javascript and image/svg+xml MIME types.
> http://redmine.ruby-lang.org/issues/5365
>
> Author: Hal Brodigan
> Status: Open
> Priority: Normal
> Assignee:
> Category: lib
> Target version:
> ruby -v: ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-linux]
>
>
> 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.
>
>