Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

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

Open
IngridMorstrad wants to merge2 commits intopython:main
base:main
Choose a base branch
Loading
fromIngridMorstrad:fix-issue-42550

Conversation

IngridMorstrad
Copy link

@IngridMorstradIngridMorstrad commentedMay 1, 2025
edited by bedevere-appbot
Loading

Previously, http.client would always send content body immediately and ignore any 100 responses. This change makes HTTPClient.request() wait for aContinue response if theExpect: 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--133276.org.readthedocs.build/

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.
@IngridMorstradIngridMorstrad changed the titleAdd 'Expect: 100-Continue' support to httplibgh-42550: Add 'Expect: 100-Continue' support to httplibMay 1, 2025
Copy link
Member

@ZeroIntensityZeroIntensity left a comment

Choose a reason for hiding this comment

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

General triage nits.

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@ZeroIntensityZeroIntensityZeroIntensity left review comments

Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@IngridMorstrad@ZeroIntensity

[8]ページ先頭

©2009-2025 Movatter.jp