File tree Expand file tree Collapse file tree 1 file changed +16
-7
lines changed Expand file tree Collapse file tree 1 file changed +16
-7
lines changed Original file line number Diff line number Diff line change @@ -171,16 +171,25 @@ Property Indicates that Details
171171 Usage::
172172
173173 >>> from http import HTTPMethod
174- >>> HTTMethod.GET
175- HTTMethod.GET
176- >>> HTTMethod.GET == 'GET'
174+ >>>
175+ >>> HTTPMethod.GET
176+ <HTTPMethod.GET>
177+ >>> HTTPMethod.GET == 'GET'
177178 True
178- >>> HTTMethod .GET.value
179+ >>> HTTPMethod .GET.value
179180 'GET'
180- >>> HTTMethod .GET.description
181- 'Transfer a current representation of the target resource .'
181+ >>> HTTPMethod .GET.description
182+ 'Retrieve the target.'
182183 >>> list(HTTPMethod)
183- [HTTPMethod.GET, HTTPMethod.HEAD, ...]
184+ [<HTTPMethod.CONNECT>,
185+ <HTTPMethod.DELETE>,
186+ <HTTPMethod.GET>,
187+ <HTTPMethod.HEAD>,
188+ <HTTPMethod.OPTIONS>,
189+ <HTTPMethod.PATCH>,
190+ <HTTPMethod.POST>,
191+ <HTTPMethod.PUT>,
192+ <HTTPMethod.TRACE>]
184193
185194.. _http-methods :
186195
You can’t perform that action at this time.
0 commit comments