FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-42550: Add 'Expect: 100-Continue' support to httplib by IngridMorstrad · Pull Request #133275 · python/cpython · GitHub

/ cpython Public

gh-42550: Add 'Expect: 100-Continue' support to httplib - #133275

Closed
IngridMorstrad wants to merge 2 commits into
python:mainfrom
IngridMorstrad:fix-issue-1346874
Closed

gh-42550: Add 'Expect: 100-Continue' support to httplib#133275
IngridMorstrad wants to merge 2 commits into
python:mainfrom
IngridMorstrad:fix-issue-1346874

Conversation

IngridMorstrad commented May 1, 2025
edited
Loading

Copy link
Copy Markdown

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.

#42550
https://bugs.python.org/issue1346874


📚 Documentation preview 📚: https://cpython-previews--133275.org.readthedocs.build/

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.

python-cla-bot Bot commented May 1, 2025
edited
Loading

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.

IngridMorstrad changed the title gh-1346874: Add 'Expect: 100-Continue' support to httplib gh-42550: Add 'Expect: 100-Continue' support to httplib May 1, 2025
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL