Created attachment 303675 [details] Patch against thttpd-2.25b that changes default type to application/octet-stream By default, thttpd does serve all content it can't recognise as text/plain. This will cause webbrowsers to display garbage when trying to download any file that isn't plain text and has a file extension that thttpd doesn't recognise. The attached patch changes that to application/octet-stream, which doesn't have that problem. This is the behaviour of most other web servers, and can reasonably be considered the expected behaviour. Patch is by myself and applies against thttpd-2.25b.
Created attachment 303677 [details, diff] Patch against thttpd-2.25b that changes default type to application/octet-stream
Fixed in thttpd-2.25b-r9. Please reopen if this is still a problem.