simple-http-server icon indicating copy to clipboard operation
simple-http-server copied to clipboard

Please add Content-Disposition in the downloaded response header

Open mofazhe opened this issue 2 years ago • 1 comments

The file name can be obtained through Content-Disposition

mofazhe avatar Feb 21 '23 10:02 mofazhe

It's a feature to preview file types like image/audio/txt file by web browser. If you want to save the file, just right click it and save it.

Or, maybe we can add a flag to indicate that download is the default behavior.

TheWaWaR avatar Jul 22 '23 05:07 TheWaWaR