ruby-changes:63594
From: hisanori <ko1@a...>
Date: Fri, 13 Nov 2020 11:38:59 +0900 (JST)
Subject: [ruby-changes:63594] 37e5b367c1 (master): [ruby/webrick] add mime type of extention .mjs
https://git.ruby-lang.org/ruby.git/commit/?id=37e5b367c1 From 37e5b367c1925fe04855713c8ec1ad963285e938 Mon Sep 17 00:00:00 2001 From: hisanori <hisary@g...> Date: Sat, 26 Sep 2020 21:04:19 +0900 Subject: [ruby/webrick] add mime type of extention .mjs https://github.com/ruby/webrick/commit/45d68f9eba diff --git a/lib/webrick/httputils.rb b/lib/webrick/httputils.rb index 76d4bd0..f1b9ddf 100644 --- a/lib/webrick/httputils.rb +++ b/lib/webrick/httputils.rb @@ -72,6 +72,7 @@ module WEBrick https://github.com/ruby/ruby/blob/trunk/lib/webrick/httputils.rb#L72 "json" => "application/json", "lha" => "application/octet-stream", "lzh" => "application/octet-stream", + "mjs" => "application/javascript", "mov" => "video/quicktime", "mpe" => "video/mpeg", "mpeg" => "video/mpeg", -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/