1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

treat uploaded .html files as text/html by default

This commit is contained in:
Daniel Stenberg 2003-04-15 09:29:39 +00:00
parent 0b839c4f77
commit 1f2294d585

View File

@ -517,7 +517,7 @@ static const char * ContentTypeForFilename (const char *filename,
{".jpg", "image/jpeg"}, {".jpg", "image/jpeg"},
{".jpeg", "image/jpeg"}, {".jpeg", "image/jpeg"},
{".txt", "text/plain"}, {".txt", "text/plain"},
{".html", "text/plain"} {".html", "text/html"}
}; };
if(prevtype) if(prevtype)