simple-http-server
simple-http-server copied to clipboard
Please add Content-Disposition in the downloaded response header
The file name can be obtained through Content-Disposition
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.