Netlify is serving most of my html files as content-type: text/plain. [example] The only ones getting a correct content-type are those named with the suffix “.html”. This seems rather silly, since the files are all easily identified by their
<!DOCTYPE html> header.
I assume I could avoid the problem if I wanted to adopt a Microsoft-style file naming convention and expose it in my URLs, but I have no interest in that.
I figured out how to set custom headers by fiddling about with toml files and wildcard path matching whenever my site’s directory structure changes, but that leads to a life of hassles that seem like they shouldn’t be necessary.
Is there some way to make Netlify be smarter about the content-type it serves by default, at least for the extremely common case of html5 files? If not today, would the dev team consider it as a new feature?