Skip to content

Improved support for "Content-Disposition".#33

Closed
alessiofachechi wants to merge 1 commit into
raykolbe:masterfrom
alessiofachechi:master
Closed

Improved support for "Content-Disposition".#33
alessiofachechi wants to merge 1 commit into
raykolbe:masterfrom
alessiofachechi:master

Conversation

@alessiofachechi

Copy link
Copy Markdown

"Content-Disposition" header is ignored in its classic format, like Content-Disposition: attachment; filename=my-file.pdf, by some browsers versions. Wrapping filename by inverted commas, like Content-Disposition: attachment; filename="my-file.pdf" helps avoiding this kind of problems.

@raykolbe

Copy link
Copy Markdown
Owner

@alessiofachechi Would you be able to write a test for this change? Thanks!

@raykolbe raykolbe added this to the 0.5.0 milestone Sep 23, 2017
@raykolbe

raykolbe commented Oct 8, 2017

Copy link
Copy Markdown
Owner

Hi @alessiofachechi,

A recent commit to master (7f11506#diff-d7d1b74cb82c14766f49046ec3c8ddaaR129) should solve this problem. When you have a chance can you give it a shot? Thanks!

Closing this PR due to age.

@raykolbe raykolbe closed this Oct 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants