-
Notifications
You must be signed in to change notification settings - Fork 30
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
Add test_httpbin_accepts_lots_of_get_requests_in_single_session #13
Add test_httpbin_accepts_lots_of_get_requests_in_single_session #13
Conversation
This test is actually failing for me at least part of the time on py34. This was inspired by a bug in httpie: httpie/cli#278 (comment)
Notice test fails on py33 with:
|
Fails locally too:
|
I feel like this has something to do with the fact that wsgiref is being used for HTTP/1.1. If I changed I'm guessing it has something to do with HTTP/1.1 defaulting to using keep alives rather than closing the connection like in HTTP/1.0. |
that adds `Connection: Close` response header so that clients don't expect keep alives. Fixes: kevin1024#13
PR #16 appears to fix this issue for me.
|
Perhaps this should be closed since the commit is in #16 |
This test is actually failing for me at least part of the time on py34.
This was inspired by a bug in httpie:
httpie/cli#278 (comment)