Incorrect mime type for "htm", should be the same as for "html"
dmcnaugh opened this issue · 2 comments
dmcnaugh commented
In libesphttpd/core/httpd.c
there is an incorrect mime type for "htm"
:
there is no such mime type as text/htm
, this should be text/html
, the same as for "html"
//The mappings from file extensions to mime types. If you need an extra mime type,
//add it here.
static const ICACHE_RODATA_ATTR MimeMap mimeTypes[]={
{"htm", "text/htm"},
{"html", "text/html"},
chmorgan commented
Merged, thanks for the PR!