Function std::http_mime_type
const &char http_mime_type(const &char path)The media type for a file name's extension (case-insensitive): text/html; charset=utf-8, text/css, text/javascript, application/json, application/wasm, image/png, image/svg+xml, font/woff2, ... and application/octet-stream for anything unknown.