Skip to content

Demo site: browser doesn't always download files when clicking the download button #29

@clb92

Description

@clb92

I believe it's because you're sending the header Content-Disposition: inline, where it should probably be Content-Disposition: attachment if you click the download button, so the browser doesn't just show the file in the browser.

I did a quick test, and that seems to fix it.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions