-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
HttpResponse doesn't parse response body without Content-Length header and Connection: close #14
Comments
Just ran into this and the above commit: tumb1er@235a6e4 seems to work fine. |
i cannot accept this because HttpPayloadParser implementation is used for server as well. |
added parameter for request() method @76ab7f76ef4e4ab83a35b787baf80fe7fae74454 |
Thanks! What version will it be? |
0.6.3, i'll try to release it later today or tomorrow. |
new version is released |
Steps to reproduce:
That's because in
HttpResponse.start
methodHttpPayloadParser
is constructed with onlymessage
argument.So, in
HttpPayloadParser.__init__
fieldself.readall
defaults to False and next code inHttpPayloadParser.__call__
is never called:The text was updated successfully, but these errors were encountered: