Skip to content

Aviod duplicate Transfer-Encoding: chunked when already set in headers #93

Open
wants to merge 1 commit into from

2 participants

@snakierten96

Apps could set this even if they probably shouldn't. Avoiding the duplicate.

@lumiera
lumiera commented on f9e77d1 Jun 5, 2014

You also need to factor in the possibility of application setting the 'Transfer-Encoding: identity' header (which would indicate that message is terminated by closing the connection), in which case as per RFC2612 the 'Transfer-Encoding: chunked' is not necessary. Something like http://paste.debian.net/hidden/94c95cea/ is what I use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.