gh-153309 Add HTTP QUERY method (RFC 10008) to http library#153310
gh-153309 Add HTTP QUERY method (RFC 10008) to http library#153310mbeijen wants to merge 8 commits into
Conversation
Documentation build overview
13 files changed ·
|
picnixz
left a comment
There was a problem hiding this comment.
Don't we need something like do_QUERY in HTTP client etcs? please also check if we need tests for that.
We have these Line 455 in 1051384 do_DELETE and so on.
|
Co-authored-by: Eduardo Villalpando Mello <eduardo.villalpando.mello@gmail.com>
| @@ -0,0 +1 @@ | |||
| Add the HTTP QUERY method (RFC 10008) to http.HTTPMethod. | |||
There was a problem hiding this comment.
| Add the HTTP QUERY method (RFC 10008) to http.HTTPMethod. | |
| Add the HTTP QUERY method | |
| (`RFC 10008 <https://www.rfc-editor.org/info/rfc10008/>`_) | |
| to :class:`http.HTTPMethod`. |
There was a problem hiding this comment.
I suggest using the rfc role (it can link sections as well)
|
(I will do a review tomorrow while I am commuting) |
| @@ -0,0 +1 @@ | |||
| Add the HTTP QUERY method (:rfc:`10008`) to :class:`http.HTTPMethod`. | |||
There was a problem hiding this comment.
| Add the HTTP QUERY method (:rfc:`10008`) to :class:`http.HTTPMethod`. | |
| :mod:`http`: Add the HTTP QUERY method (:rfc:`10008`) to :class:`~http.HTTPMethod`. |
You can also add a What's New entry. It makes users aware of the RFC itself (e.g. I was not aware of this new method)
| .. versionchanged:: 3.2 | ||
| *body* can now be an iterable. | ||
|
|
||
| .. versionchanged:: 3.6 |
There was a problem hiding this comment.
Please add a versionchanged:: next indicating the addition of PATCH.
RFC 10008: The HTTP QUERY Method is now a finalized RFC on the Standards track, and the method name has been added to the IANA registry
Add it to http library HTTPMethod enum, too