Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 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
3 changes: 2 additions & 1 deletion Doc/library/http.rst
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ equal to the constant name (i.e. ``http.HTTPStatus.OK`` is also available as

.. versionchanged:: 3.13
Implemented RFC9110 naming for status constants. Old constant names are preserved for
backwards compatibility.
backwards compatibility: ``413 REQUEST_ENTITY_TOO_LARGE``, ``414 REQUEST_URI_TOO_LONG``,
``416 REQUESTED_RANGE_NOT_SATISFIABLE`` and ``422 UNPROCESSABLE_ENTITY``.

HTTP status category
--------------------
Expand Down
10 changes: 10 additions & 0 deletions Doc/whatsnew/3.13.rst
Original file line number Diff line number Diff line change
Expand Up @@ -904,6 +904,16 @@ glob
(Contributed by Barney Gale in :gh:`72904`.)


http
----

* :class:`http.HTTPStatus` was updated to use the names from :rfc:`9110`.
This RFC includes some HTTP statuses previously only used for WEBDAV
and assigns more generic names to them.
The old constants are preserved for backwards compatibility.
(Contributed by Michiel W. Beijen in :gh:`102247`.)


importlib
---------

Expand Down
Loading