mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-26 12:14:56 +00:00
Fix #1294 - add more common mime types
This commit is contained in:
1 parent
6b2698a503
commit
5e466f9037
3 files changed
+77
-63
No files matched your search
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user