erlyaws / yaws

Yaws webserver
https://erlyaws.github.io
BSD 3-Clause "New" or "Revised" License
1.28k stars 267 forks source link

Returns 404 with no charset in Content-Type #394

Closed etnt closed 4 years ago

etnt commented 4 years ago

If I try to access a non existing file (e.g /sitemap.xml) , I will get a 404 Not Found returned with some text body, where the Content-Type header is set to text/html without any 'charset=CHARSET' info. This despite a specific charset has been configured that, correctly, is applied on all existing files with a 'text/*' content type.