12 ms·
You can do this with the header: Content-Disposition: attachment That's the correct way to do it. What's actually happening is that the wrong content type
by klodolph 7y ago
You can do this with the header:
Content-Disposition: attachment
That's the correct way to do it. What's actually happening is that the wrong content type is being returned:
Content-Type: application/octet-stream
This is the lazy way to do it.