Added missing wasm ContentType (#198)

This commit is contained in:
VayuDev 2019-07-26 18:42:19 +02:00 committed by An Tao
parent 986ef8dda7
commit c8a22127d5
2 changed files with 6 additions and 0 deletions

View File

@ -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,

View File

@ -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:
{