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:
parent
08a0927c0c
commit
2b86b6f333
1 changed files with 1 additions and 0 deletions
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue