diff options
author | Roland Reichwein <mail@reichwein.it> | 2023-01-28 10:19:12 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2023-01-28 10:19:12 +0100 |
commit | 846b733fac9861c741b9faa831468399149049f5 (patch) | |
tree | fdc7ae4aa28d66412d96e2e8baab0dec6df8cdb7 /mime.cpp | |
parent | 2fd0bb52f38f243c76fbbd8a85efe781c5f599c4 (diff) |
Added MIME type application/wasm; Added Reichwein::XML::plain_xml
Diffstat (limited to 'mime.cpp')
-rw-r--r-- | mime.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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"; } |