Skip to content
Snippets Groups Projects
Unverified Commit f0d12ca0 authored by Matt Harasymczuk's avatar Matt Harasymczuk Committed by GitHub
Browse files

Fix misspelling in docs for http.HTTPMethod (#99376)

parent 88385b85
Branches
Tags
No related merge requests found
......@@ -171,16 +171,25 @@ Property Indicates that Details
Usage::
>>> from http import HTTPMethod
>>> HTTMethod.GET
HTTMethod.GET
>>> HTTMethod.GET == 'GET'
>>>
>>> HTTPMethod.GET
<HTTPMethod.GET>
>>> HTTPMethod.GET == 'GET'
True
>>> HTTMethod.GET.value
>>> HTTPMethod.GET.value
'GET'
>>> HTTMethod.GET.description
'Transfer a current representation of the target resource.'
>>> HTTPMethod.GET.description
'Retrieve the target.'
>>> list(HTTPMethod)
[HTTPMethod.GET, HTTPMethod.HEAD, ...]
[<HTTPMethod.CONNECT>,
<HTTPMethod.DELETE>,
<HTTPMethod.GET>,
<HTTPMethod.HEAD>,
<HTTPMethod.OPTIONS>,
<HTTPMethod.PATCH>,
<HTTPMethod.POST>,
<HTTPMethod.PUT>,
<HTTPMethod.TRACE>]
.. _http-methods:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment