8000 bpo-39509: Update docs · python/cpython@9051de6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9051de6

Browse files
committed
bpo-39509: Update docs
1 parent a6bcdec commit 9051de6

File tree

4 files changed

+13
-2
lines changed

4 files changed

+13
-2
lines changed

Doc/library/http.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ Code Enum Name Details
6262
``100`` ``CONTINUE`` HTTP/1.1 :rfc:`7231`, Section 6.2.1
6363
``101`` ``SWITCHING_PROTOCOLS`` HTTP/1.1 :rfc:`7231`, Section 6.2.2
6464
``102`` ``PROCESSING`` WebDAV :rfc:`2518`, Section 10.1
65+
``103`` ``EARLY_HINTS`` An HTTP Status Code for Indicating Hints :rfc:`8297`
6566
``200`` ``OK`` HTTP/1.1 :rfc:`7231`, Section 6.3.1
6667
``201`` ``CREATED`` HTTP/1.1 :rfc:`7231`, Section 6.3.2
6768
``202`` ``ACCEPTED`` HTTP/1.1 :rfc:`7231`, Section 6.3.3
@@ -102,6 +103,7 @@ Code Enum Name Details
102103
``422`` ``UNPROCESSABLE_ENTITY`` WebDAV :rfc:`4918`, Section 11.2
103104
``423`` ``LOCKED`` WebDAV :rfc:`4918`, Section 11.3
104105
``424`` ``FAILED_DEPENDENCY`` WebDAV :rfc:`4918`, Section 11.4
106+
``425`` ``TOO_EARLY`` Using Early Data in HTTP :rfc:`8470`
105107
``426`` ``UPGRADE_REQUIRED`` HTTP/1.1 :rfc:`7231`, Section 6.5.15
106108
``428`` ``PRECONDITION_REQUIRED`` Additional HTTP Status Codes :rfc:`6585`
107109
``429`` ``TOO_MANY_REQUESTS`` Additional HTTP Status Codes :rfc:`6585`
@@ -130,3 +132,6 @@ equal to the constant name (i.e. ``http.HTTPStatus.OK`` is also available as
130132

131133
.. versionadded:: 3.8
132134
Added ``451 UNAVAILABLE_FOR_LEGAL_REASONS`` status code.
135+
136+
.. versionadded:: 3.9
137+
Added ``103 EARLY_HINTS`` and ``425 TOO_EARLY`` status codes.

Doc/whatsnew/3.9.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,12 @@ Added a new function :func:`gc.is_finalized` to check if an object has been
186186
finalized by the garbage collector. (Contributed by Pablo Galindo in
187187
:issue:`39322`.)
188188

189+
http
190+
----
191+
192+
HTTP status code ``103 EARLY_HINTS`` and ``425 TOO_EARLY`` are added to
193+
:class:`http.HTTPStatus` (Contributed by Dong-hee Na in :issue:`39509`.)
194+
189195
imaplib
190196
-------
191197

Misc/NEWS.d/next/Library/2020-02-01-00-03-06.bpo-39505.-YxUSf.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
HTTP status code ``103 EARLY_HINTS`` and ``425 TOO_EARLY`` are added to
2+
:class:`http.HTTPStatus` Patch by Dong-hee Na.

0 commit comments

Comments
 (0)
0