Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
bpo-1346874: Add 'Expect: 100-Continue' support to httplib#14880
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Conversation
Previously, http.client would always send content body immediately and ignore any 100 responses. This changemakes HTTPClient.request() wait for a `Continue` response if the `Expect: 100-Continue` header is set, andadds a parameter to HTTPClient.getresponse() that will cause it to return 100 responses instead of eating them.
This PR is intended to be backwards-compatible, but I have identified two potential edge cases:
|
quadoss commentedApr 5, 2022
Is there an update on this one, its been in open state for couple of years and I too have been hitting this and wanting to see when this would be merged |
emnoor-reef commentedAug 5, 2023
Just bumping. Is this PR on consideration for getting merged? Or, are there any other plans for#42550 ? I am encountering this problem at work. |
python-cla-botbot commentedApr 6, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
IngridMorstrad commentedApr 8, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Hi,@tbartlett0 |
Tim would need to (re-)sign the CLA. |
Hi, I haven't touched this since it was submitted, since there seemed to be limited interest and I ended up working around it in other ways. If someone else wants to take it on I have no problem with that (either using my code or rewriting their own, there might be a better way to achieve it) |
@IngridMorstrad |
IngridMorstrad commentedMay 1, 2025
I don't have permissions here, so created a new PR:#133276 |
Uh oh!
There was an error while loading.Please reload this page.
Previously,
http.client
would always send content body immediately and ignore any 100 responses. This change makesHTTPClient.request()
wait for a Continue response if theExpect: 100-Continue
header is set, and adds a parameter toHTTPClient.getresponse()
that will cause it to return 100 responses instead of eating them.https://bugs.python.org/issue1346874