1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Define the MIME type for JSON in WEBrick::HTTPUtils::DefaultMimeTypes.

[Feature #10798][ruby-core:67879]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
hsbt 2017-09-19 01:54:28 +00:00
parent 08a0927c0c
commit 2b86b6f333

View file

@ -69,6 +69,7 @@ module WEBrick
"jpeg" => "image/jpeg", "jpeg" => "image/jpeg",
"jpg" => "image/jpeg", "jpg" => "image/jpeg",
"js" => "application/javascript", "js" => "application/javascript",
"json" => "application/json",
"lha" => "application/octet-stream", "lha" => "application/octet-stream",
"lzh" => "application/octet-stream", "lzh" => "application/octet-stream",
"mov" => "video/quicktime", "mov" => "video/quicktime",