caddy icon indicating copy to clipboard operation
caddy copied to clipboard

Add option to enable MIME sniffing

Open makew0rld opened this issue 8 months ago • 4 comments

I understand that in Caddy v2, MIME sniffing is "disabled by default". But I haven't found a way to enable it. It would be great if Caddy had this feature. In my case for example, I am serving a directory of files without extensions, named after their hash. Sending Content-Type would make it easier for clients to handle the files they receive and display them in the browser if needed.

Thanks!

makew0rld avatar Feb 13 '25 15:02 makew0rld