]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-91996: Add an HTTPMethod StrEnum to http (GH-91997)
authorcibofo <53799417+cibofo@users.noreply.github.com>
Thu, 5 May 2022 22:39:02 +0000 (01:39 +0300)
committerGitHub <noreply@github.com>
Thu, 5 May 2022 22:39:02 +0000 (15:39 -0700)
commit9a0a7b4868c1e40a1863394bc475132b47d8926f
tree17206e43f3e347093d75ef3744cc94fbc6e3f76e
parentbb35d6504aca0348c212281efbdde2caf84cd116
gh-91996: Add an HTTPMethod StrEnum to http (GH-91997)

* Add HTTPMethod enum to http

Create a StrEnum for the 9 common HTTP methods.

Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
Doc/library/http.rst
Lib/http/__init__.py
Misc/ACKS
Misc/NEWS.d/next/Library/2022-04-27-19-45-58.gh-issue-91996.YEEIzk.rst [new file with mode: 0644]