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

How to stream files? #1126

Closed
divdax opened this issue May 30, 2018 · 1 comment
Closed

How to stream files? #1126

divdax opened this issue May 30, 2018 · 1 comment

Comments

@divdax
Copy link

divdax commented May 30, 2018

It's possible to stream files such as PDF's instead of force a download when return a media model?
I want to display a PDF in the browser instead of downloading it with a header:

Content-Disposition: inline; filename="document.pdf"
@freekmurze
Copy link
Member

That's currently not possible, but I'd accept a PR that adds this to the package.

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