-
Notifications
You must be signed in to change notification settings - Fork 9
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
Swindon behavior with 304 (and possible other response codes) #47
Comments
Well, under some circumstances nginx forwards zero-length chunk but strips
Which leads to curl issue:
|
All in all, I think we have two options:
The problem is they both work badly with keep-alives:
|
Currently looks more like this is a bug in aiohttp, and nothing to do in swindon. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, swindon doesn't expect (and doesn't send) any response even if
Transfer-Encoding
andContent-Length
are specified on such codes. For server part it's easy: just don't sendTransfer-Encoding
, but client (proxy) behavior is not that easy.Here is a random subset of tested functionality:
Transfer-Encoding: chunked
and 0-length chunk (incorrect according to the spec). It looks like node.js has the same problemchunked
is set. (but see below)chunked
too (but see below)The text was updated successfully, but these errors were encountered: