Add test_httpbin_accepts_lots_of_get_requests_in_single_session#13
Merged
kevin1024 merged 1 commit intokevin1024:masterfrom Dec 1, 2014
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)
Collaborator
Author
|
Notice test fails on py33 with: |
Collaborator
Author
|
Fails locally too: |
Collaborator
Author
|
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. |
msabramo
added a commit
to msabramo/pytest-httpbin
that referenced
this pull request
Dec 1, 2014
that adds `Connection: Close` response header so that clients don't expect keep alives. Fixes: kevin1024#13
Collaborator
Author
|
PR #16 appears to fix this issue for me. |
|
Perhaps this should be closed since the commit is in #16 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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)