The HTTP response must return the file as a binary object, not as HTML or plain text. Set the Content-Type header to application/octet-stream to indicate this is a binary file download.
to be changed to:
-
- Have Content-Type: text/plain in the header.
-
- Be externally accessible.
-
- Not be password protected.
-
- Not be behind a proxy or redirect.