Fix #1294 - add more common mime types

This commit is contained in:
Sergey Lyubka committed 2021-07-13 19:24:46 +01:00
1 parent 6b2698a503
commit 5e466f9037
3 files changed
+77 -63

No files matched your search

+1 -1
View File
@@ -530,7 +530,7 @@ static void test_http_server(void) {
mg_http_parse(buf, strlen(buf), &hm);
ASSERT(mg_http_get_header(&hm, "Content-Type") != NULL);
ASSERT(mg_strcmp(*mg_http_get_header(&hm, "Content-Type"),
mg_str("text/javascript")) == 0);
mg_str("text/javascript; charset=utf-8")) == 0);
}
{