Skip to content

Comments

Allow to not insert content-disposition#35

Open
svandecappelle wants to merge 2 commits intomeloncholy:masterfrom
svandecappelle:master
Open

Allow to not insert content-disposition#35
svandecappelle wants to merge 2 commits intomeloncholy:masterfrom
svandecappelle:master

Conversation

@svandecappelle
Copy link

Some files with special encoding are not able to stream.

TypeError: The header content contains invalid characters

This setting:

{
  insertContentDisposition : false
}

desactive the header Content-Disposition and then the Express http requests do not fail because of header encoding errors.

Allow to not insert content disposition into headers.
Keeping by default the content disposition.
Header settings on content disposition
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

Successfully merging this pull request may close these issues.

1 participant