-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Chunked transfer encoding on HTTP requests #790
Conversation
…into ml31415-chunked_request Thanks to @ml3141 for this work!
2d0ca11
to
50bec38
Compare
/cc @sigmavirus24 |
|
||
|
||
class TestChunkedTransfer(SocketDummyServerTestCase): | ||
def _start_chunked_handler(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this need to be private? I know start_basic_handler isn't.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Uh, I don't think so, no. Let me fix that up.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
👍 from me. |
@@ -434,7 +437,8 @@ def is_same_host(self, url): | |||
|
|||
def urlopen(self, method, url, body=None, headers=None, retries=None, | |||
redirect=True, assert_same_host=True, timeout=_Default, | |||
pool_timeout=None, release_conn=None, **response_kw): | |||
pool_timeout=None, release_conn=None, chunked=False, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docstring for the new keyword please
Minor style comments, rest looks good. Ping when ready. :) 🍮 |
Ping! |
Chunked transfer encoding on HTTP requests.
Chunked transfer encoding on HTTP requests.
Supersedes #775.