From bd04d3abab43e0f8ae05a47ae6e66188c9f2d090 Mon Sep 17 00:00:00 2001 From: Olle Jonsson Date: Mon, 23 Aug 2021 09:32:40 +0200 Subject: [PATCH] add mime type for .webmanifest extension https://developer.mozilla.org/en-US/docs/Web/Manifest#deploying_a_manifest_with_the_link_tag https://w3c.github.io/manifest/#media-type-registration --- lib/webrick/httputils.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/webrick/httputils.rb b/lib/webrick/httputils.rb index 4893ecb9..05597f9e 100644 --- a/lib/webrick/httputils.rb +++ b/lib/webrick/httputils.rb @@ -104,6 +104,7 @@ def normalize_path(path) "txt" => "text/plain", "wasm" => "application/wasm", "webm" => "video/webm", + "webmanifest" => "application/manifest+json", "webp" => "image/webp", "woff" => "font/woff", "woff2" => "font/woff2",