From 846b733fac9861c741b9faa831468399149049f5 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sat, 28 Jan 2023 10:19:12 +0100 Subject: Added MIME type application/wasm; Added Reichwein::XML::plain_xml --- mime.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'mime.cpp') diff --git a/mime.cpp b/mime.cpp index b28cb9d..172a004 100644 --- a/mime.cpp +++ b/mime.cpp @@ -33,6 +33,7 @@ std::string Reichwein::Mime::mime_type(const std::string& path) if(boost::algorithm::iequals(ext, ".tif")) return "image/tiff"; if(boost::algorithm::iequals(ext, ".svg")) return "image/svg+xml"; if(boost::algorithm::iequals(ext, ".svgz")) return "image/svg+xml"; + if(boost::algorithm::iequals(ext, ".wasm")) return "application/wasm"; return "application/text"; } -- cgit v1.2.3