mirror of
https://github.com/curl/curl.git
synced 2026-05-18 00:26:19 +03:00
treat uploaded .html files as text/html by default
This commit is contained in:
parent
0b839c4f77
commit
1f2294d585
1 changed files with 1 additions and 1 deletions
|
|
@ -517,7 +517,7 @@ static const char * ContentTypeForFilename (const char *filename,
|
|||
{".jpg", "image/jpeg"},
|
||||
{".jpeg", "image/jpeg"},
|
||||
{".txt", "text/plain"},
|
||||
{".html", "text/plain"}
|
||||
{".html", "text/html"}
|
||||
};
|
||||
|
||||
if(prevtype)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue