Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pdf js downloads the complete PDF in Firefox #7425

Closed
jsangari-ssat opened this issue Jun 20, 2016 · 2 comments
Closed

Pdf js downloads the complete PDF in Firefox #7425

jsangari-ssat opened this issue Jun 20, 2016 · 2 comments

Comments

@jsangari-ssat
Copy link

Hi ,
The Service returns the following response Accept-Ranges header on the initial get request .In firefox i saw that it downloads the complete pdf and renders it , In Chrome it cancels the first request and proceeds with requesting the partial content and rendering it. Sounds like a bug

@Snuffleupagus
Copy link
Collaborator

This is by design, since PDF.js uses a combination of streaming and range requests to speed up loading/rendering of PDF files in Firefox, please refer to PR #5263 and issue #4739. Closing as invalid.

@jsangari-ssat
Copy link
Author

Thanks @Snuffleupagus for the quick reply. In this usecase we do not want the user to download the completed PDF so I guess the only way of doing that is through the disableStream setting to true ..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants