Safari wants a Content-Type
header in responses. Even if the response is Content-Length: 0
. Without this, Safari can attempt to trigger an empty download. Don't argue; just go with it; some browsers are strange.
Safari: The Mysterious Case of the Empty Download
· 3 min read