-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Percentage is not displayed when downloading a .txt file #524
Comments
I was able to reproduce with the following on dev and stage
Using a file created as follows:
|
Somebody seems to have set the content-type header to something other than octet stream, why? (not yet on production) |
oh dear... this also breaks if you upload an html file, I strongly suspect the Content-Type header is related That header will be set to "text/html" on the response from https://send.dev.mozaws.net/assets/download/, does this violate "Web APIs must set a non-HTML content-type on all responses, including 300s, 400s and 500s (APP-NOHTML)" from #202? (remember encryption is technically optional as it is performed by the client so could this potentially be used to host html files on send?) |
This should be fixed as of e9405f4 and is up on https://send.dev.mozaws.net The content-type was added to support mobile browsers but only the decrypted blob should have that type. The encrypted download should just be application/octet-stream. |
The issue is no longer reproducible on the Dev and Stage pages. Marking as verified. |
[Notes]:
[Affected versions]:
[Affected Platforms]:
[Steps to reproduce]:
[Expected result]:
[Actual results]:
[Additional notes]:
The text was updated successfully, but these errors were encountered: