Uh oh!
There was an error while loading. Please reload this page.
bpo-1346874: Add 'Expect: 100-Continue' support to httplib - #14880
bpo-1346874: Add 'Expect: 100-Continue' support to httplib#14880tbartlett0 wants to merge 2 commits into
Conversation
Previously, http.client would always send content body immediately and ignore any 100 responses. This change makes HTTPClient.request() wait for a `Continue` response if the `Expect: 100-Continue` header is set, and adds a parameter to HTTPClient.getresponse() that will cause it to return 100 responses instead of eating them.
tbartlett0
commented
Jul 21, 2019
This PR is intended to be backwards-compatible, but I have identified two potential edge cases:
|
quadoss
commented
Apr 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
commented
Aug 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. |
Hi, @tbartlett0 |
AA-Turner
commented
Apr 8, 2025
Tim would need to (re-)sign the CLA. |
tbartlett0
commented
Apr 9, 2025
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) |
tbartlett0
commented
Apr 10, 2025
@IngridMorstrad |
IngridMorstrad
commented
May 1, 2025
I don't have permissions here, so created a new PR: #133276 |
This PR is stale because it has been open for 30 days with no activity. |
Previously,
http.clientwould always send content body immediately and ignore any 100 responses. This change makesHTTPClient.request()wait for a Continue response if theExpect: 100-Continueheader 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