-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Implement progressive pdf download #53
Comments
@libreliodev Firefox pdf reader does not care about CORS setting of your s3 bucket. |
@serverfire Thank you for your comment. As mentioned in #44 , CORS is already in place on this bucket. In order to understand which authorizations are potentially missing, do you have an error message in javascript? |
@serverfire Could this help: http://stackoverflow.com/questions/15561508/xmlhttprequest-206-partial-content |
This might also help: mozilla/pdf.js#3150 |
For some reason, this now works under Firefox and Chrome, but not Safari. |
@libreliodev I saw that. It's mostly likely because of CORS setting or the browser does not allow that. |
@serverfire: thanks for the suggestion. However, it's not possible to do this in AWS
Any idea of the missing header(s)? |
I think that's enough. I should see if safari supports partial requests via ajax. |
@libreliodev Now safari also requests for pdf file partially. |
@serverfire Fantastic. Many thanks. |
When we try to download http://librelio-europe.s3.amazonaws.com/librelio/wind/wind_355/wind_355.pdf in Firefox, progressive download works.
When using our PDF reader with the same file (Wind 355) , progressive download does not work.
The text was updated successfully, but these errors were encountered: