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

pdfpreview + resourceproxy: error opening a PDF via HTTP stream #986

Closed
formwandler opened this issue Jun 9, 2013 · 3 comments
Closed

Comments

@formwandler
Copy link

I use the extension pdfpreview to preview internal PDFs and resourceproxy in addition for previewing external PDFs in CKAN 2.0. For PDFs which are directly linked as PDF this works fine. But if the PDF is created on-the-fly via a HTTP stream I get the following error

PDF.JS Build: 1c31953
Nachricht: Unexpected server response of 0.

See this sample external PDF which can't be previewed

It would be great to have a solution for this.

@domoritz
Copy link
Contributor

domoritz commented Jun 9, 2013

I might be wrong but I think this was fixed in #896.

@domoritz
Copy link
Contributor

domoritz commented Jun 9, 2013

Okay, I can confirm that is already fixed in master ;-)

@domoritz domoritz closed this as completed Jun 9, 2013
@formwandler
Copy link
Author

Yes, great. I merged the branch from #896 into my local release-v2.0.1 branch. It works. Thanks.

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