Skip to content
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

Merged
merged 29 commits into from
Jan 26, 2016

Conversation

Lukasa
Copy link
Sponsor Contributor

@Lukasa Lukasa commented Jan 25, 2016

Supersedes #775.

@Lukasa
Copy link
Sponsor Contributor Author

Lukasa commented Jan 25, 2016

/cc @sigmavirus24



class TestChunkedTransfer(SocketDummyServerTestCase):
def _start_chunked_handler(self):
Copy link
Contributor

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.

Copy link
Sponsor Contributor Author

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.

Copy link
Sponsor Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@sigmavirus24
Copy link
Contributor

👍 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,
Copy link
Member

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

@shazow
Copy link
Member

shazow commented Jan 25, 2016

Minor style comments, rest looks good. Ping when ready. :) 🍮

@Lukasa
Copy link
Sponsor Contributor Author

Lukasa commented Jan 26, 2016

Ping!

shazow added a commit that referenced this pull request Jan 26, 2016
Chunked transfer encoding on HTTP requests.
@shazow shazow merged commit 6e88f94 into urllib3:master Jan 26, 2016
shazow added a commit that referenced this pull request Jan 26, 2016
Dobatymo pushed a commit to Dobatymo/urllib3 that referenced this pull request Mar 16, 2022
Chunked transfer encoding on HTTP requests.
Dobatymo pushed a commit to Dobatymo/urllib3 that referenced this pull request Mar 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants