Added missing wasm ContentType (#198)
This commit is contained in:
parent
986ef8dda7
commit
c8a22127d5
|
@ -82,6 +82,7 @@ enum ContentType
|
|||
CT_TEXT_XML,
|
||||
CT_APPLICATION_XML,
|
||||
CT_TEXT_XSL,
|
||||
CT_APPLICATION_WASM,
|
||||
CT_APPLICATION_OCTET_STREAM,
|
||||
CT_APPLICATION_X_FONT_TRUETYPE,
|
||||
CT_APPLICATION_X_FONT_OPENTYPE,
|
||||
|
|
|
@ -136,6 +136,11 @@ const string_view &webContentTypeToString(ContentType contenttype)
|
|||
static string_view sv = "Content-Type: image/icns\r\n";
|
||||
return sv;
|
||||
}
|
||||
case CT_APPLICATION_WASM:
|
||||
{
|
||||
static string_view sv = "Content-Type: application/wasm\r\n";
|
||||
return sv;
|
||||
}
|
||||
default:
|
||||
case CT_TEXT_PLAIN:
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue