gerow / sbserv

A tiny file server for serving media
BSD 2-Clause "Simplified" License
9 stars 1 forks source link

When downloading directory in chrome downloaded file does not end with .zip #12

Closed gerow closed 8 years ago

gerow commented 10 years ago

This should just be a matter of setting the correct HTTP header for the file name.

seansaleh commented 9 years ago

I think this bug is more than just this. Downloads of files I suspect do not set the file extension at all For example, if you try to download a folder foo.bar it downloads a file name foo.bar Or if you download a file such as an epub (not in a folder), it thinks its a zip (depending on browser)