8000 gh-91996: Adding an HTTPMethod StrEnum to http by cibofo · Pull Request #91997 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content
8000

gh-91996: Adding an HTTPMethod StrEnum to http #91997

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
May 5, 2022
Prev Previous commit
Next Next commit
Fixed the HTTPMethod table in the http docs
  • Loading branch information
cibofo authored and ethanfurman committed May 5, 2022
commit b7048d5d711b508fc394cf609c928a34b8e807f9
7 changes: 4 additions & 3 deletions Doc/library/http.rst
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,9 @@ Supported,
`IANA-registered <https://www.iana.org/assignments/http-methods/http-methods.xhtml>`_
methods available in :class:`http.HTTPMethod` are:

========== =================================== ==================================================================
=========== =================================== ==================================================================
Method Enum Name Details
========== =================================== ==================================================================
=========== =================================== ==================================================================
``GET`` ``GET`` HTTP/1.1 :rfc:`7231`, Section 4.3.1
``HEAD`` ``HEAD`` HTTP/1.1 :rfc:`7231`, Section 4.3.2
``POST`` ``POST`` HTTP/1.1 :rfc:`7231`, Section 4.3.3
Expand All @@ -180,4 +180,5 @@ Method Enum Name Details
``CONNECT`` ``CONNECT`` HTTP/1.1 :rfc:`7231`, Section 4.3.6
``OPTIONS`` ``OPTIONS`` HTTP/1.1 :rfc:`7231`, Section 4.3.7
``TRACE`` ``TRACE`` HTTP/1.1 :rfc:`7231`, Section 4.3.8
``PATCH`` ``PATCH`` HTTP/1.1 :rfc:`5789`
``PATCH`` ``PATCH`` HTTP/1.1 :rfc:`5789`
=========== =================================== ==================================================================
0