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

Content-Disposition header #64

Closed
donflopez opened this issue Feb 2, 2015 · 1 comment
Closed

Content-Disposition header #64

donflopez opened this issue Feb 2, 2015 · 1 comment
Assignees

Comments

@donflopez
Copy link

Hello, thanks for this awesome package.

I need upload files with the header "Content-Disposition": "attachment"; and keep the file name by default.

"Content-Disposition": 'attachment; filename=' + file.name

Is this possible?

Thanks!

@gsuess
Copy link
Contributor

gsuess commented Feb 2, 2015

Currently it can only be the default or a constant string. But your use case if valid. A future version should allow it be a function.

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

No branches or pull requests

2 participants