* lib/webrick/httputils.rb: Add MIME Type definition of .js and .svg.
patched by Hal Brodigan. [ruby-core:39704] [Bug #5365] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
36a1e76053
commit
7b6677f1e6
@ -1,3 +1,8 @@
|
|||||||
|
Mon Sep 26 11:27:38 2011 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
|
* lib/webrick/httputils.rb: Add MIME Type definition of .js and .svg.
|
||||||
|
patched by Hal Brodigan. [ruby-core:39704] [Bug #5365]
|
||||||
|
|
||||||
Mon Sep 26 09:20:44 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
Mon Sep 26 09:20:44 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||||
|
|
||||||
* configure.in: remove DJGPP support. It's not longer supported
|
* configure.in: remove DJGPP support. It's not longer supported
|
||||||
|
@ -57,6 +57,7 @@ module WEBrick
|
|||||||
"jpe" => "image/jpeg",
|
"jpe" => "image/jpeg",
|
||||||
"jpeg" => "image/jpeg",
|
"jpeg" => "image/jpeg",
|
||||||
"jpg" => "image/jpeg",
|
"jpg" => "image/jpeg",
|
||||||
|
"js" => "application/javascript",
|
||||||
"lha" => "application/octet-stream",
|
"lha" => "application/octet-stream",
|
||||||
"lzh" => "application/octet-stream",
|
"lzh" => "application/octet-stream",
|
||||||
"mov" => "video/quicktime",
|
"mov" => "video/quicktime",
|
||||||
@ -78,6 +79,7 @@ module WEBrick
|
|||||||
"rtf" => "application/rtf",
|
"rtf" => "application/rtf",
|
||||||
"sgm" => "text/sgml",
|
"sgm" => "text/sgml",
|
||||||
"sgml" => "text/sgml",
|
"sgml" => "text/sgml",
|
||||||
|
"svg" => "image/svg+xml",
|
||||||
"tif" => "image/tiff",
|
"tif" => "image/tiff",
|
||||||
"tiff" => "image/tiff",
|
"tiff" => "image/tiff",
|
||||||
"txt" => "text/plain",
|
"txt" => "text/plain",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user