ruby-changes:47840
From: hsbt <ko1@a...>
Date: Tue, 19 Sep 2017 10:54:33 +0900 (JST)
Subject: [ruby-changes:47840] hsbt:r59960 (trunk): Define the MIME type for JSON in WEBrick::HTTPUtils::DefaultMimeTypes.
hsbt 2017-09-19 10:54:28 +0900 (Tue, 19 Sep 2017) New Revision: 59960 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59960 Log: Define the MIME type for JSON in WEBrick::HTTPUtils::DefaultMimeTypes. [Feature #10798][ruby-core:67879] Modified files: trunk/lib/webrick/httputils.rb Index: lib/webrick/httputils.rb =================================================================== --- lib/webrick/httputils.rb (revision 59959) +++ lib/webrick/httputils.rb (revision 59960) @@ -69,6 +69,7 @@ module WEBrick https://github.com/ruby/ruby/blob/trunk/lib/webrick/httputils.rb#L69 "jpeg" => "image/jpeg", "jpg" => "image/jpeg", "js" => "application/javascript", + "json" => "application/json", "lha" => "application/octet-stream", "lzh" => "application/octet-stream", "mov" => "video/quicktime", -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/