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 merge3 commits intopython:main
base:main
Choose a base branch
Loading
fromIngridMorstrad:fix-issue-42550
Open
Show file tree
Hide file tree
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
Update version this will go into
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
  • Loading branch information
@IngridMorstrad@ZeroIntensity
IngridMorstrad andZeroIntensity authoredMay 21, 2025
commit532026d696881befb44a4ed887a15e27a3cd50c2
10 changes: 5 additions & 5 deletionsDoc/library/http.client.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -69,7 +69,7 @@ The module provides the following classes:
.. versionchanged:: 3.7
*blocksize* parameter was added.

.. versionchanged::3.14
.. versionchanged::next
*continue_timeout* parameter was added.


Expand DownExpand Up@@ -327,7 +327,7 @@ HTTPConnection Objects
No attempt is made to determine the Content-Length for file
objects.

.. versionchanged::3.14
.. versionchanged::next
If the headers include ``Expect: 100-Continue`` and *body* is set,
the body will not be sent until either a ``100 Continue`` response is
received from the server or the :class:`HTTPConnection`'s *continue_timeout*
Expand DownExpand Up@@ -355,7 +355,7 @@ HTTPConnection Objects
:class:`HTTPConnection` object will be ready to reconnect when
a new request is sent.

.. versionchanged::3.14
.. versionchanged::next
Added the *ignore_100_continue* parameter. (In prior versions
a ``Continue`` response was always ignored.)

Expand DownExpand Up@@ -493,7 +493,7 @@ also send your request step by step, by using the four functions below.
.. versionchanged:: 3.6
Added chunked encoding support and the *encode_chunked* parameter.

.. versionadded::3.14
.. versionadded::next
The *expect_continue* parameter was added.


Expand DownExpand Up@@ -674,7 +674,7 @@ method attribute. Here is an example session that uses the ``PUT`` method::
>>> print(response.status, response.reason)
200, OK

Since version 3.14, conditional transmission of the body is supported when an
Since version 3.15, conditional transmission of the body is supported when an
``Expect: 100-Continue`` header is set. To use this in a simple case, just
set the header, and optionally the time for which the client should wait for
a ``100 Continue`` response before sending the body regardless::
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
``http.client.HTTPConnection`` now waits for a ``100 Continue`` response
:class:`http.client.HTTPConnection` now waits for a ``100 Continue`` response
before sending body content if the ``Expect: 100-Continue`` header is set.
Loading

[8]ページ先頭

©2009-2025 Movatter.jp