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

Fix the download option #25

Open
dolftax opened this issue Aug 2, 2015 · 3 comments
Open

Fix the download option #25

dolftax opened this issue Aug 2, 2015 · 3 comments

Comments

@dolftax
Copy link
Owner

dolftax commented Aug 2, 2015

For unknown content type, the user should be able to download the file locally as it can't be viewed in the browser window.

@dolftax dolftax self-assigned this Aug 3, 2015
@dolftax
Copy link
Owner Author

dolftax commented Aug 3, 2015

Disabling download option/support for now. Will handle later.

@dolftax dolftax removed their assignment Aug 3, 2015
@dolftax
Copy link
Owner Author

dolftax commented Aug 5, 2015

@eMBee could you add Content-Disposition: attachment in the response for the files with mime-type application/x-unknown-content-type ?

Because, when href=src-of-file is added (even with target="_self"), it opens up other window with ' Access denied for Guest '. As of course, as we are not sending headers along.

Or any other suggestion to download the file with the help of API?

@eMBee
Copy link
Collaborator

eMBee commented Aug 6, 2015

can you give a url example please?

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