@@ -163,16 +163,15 @@ class HTTPMethod:
163
163
def __new__ (cls , value , description ):
164
164
obj = str .__new__ (cls , value )
165
165
obj ._value_ = value
166
-
167
166
obj .description = description
168
167
return obj
169
168
170
- GET = 'GET ' , 'Transfer a current representation of the target resource .'
171
- HEAD = 'HEAD ' , 'Same as GET, but only transfer the status line and header section .'
172
- POST = 'POST ' , 'Perform resource-specific processing on the request payload .'
173
- PUT = 'PUT ' , 'Replace all current representations of the target resource with the request payload .'
174
- DELETE = 'DELETE ' , 'Remove all current representations of the target resource .'
175
- CONNECT = 'CONNECT ' , 'Establish a tunnel to the server identified by the target resource .'
176
- OPTIONS = 'OPTIONS ' , 'Describe the communication options for the target resource .'
177
- TRACE = 'TRACE ' , 'Perform a message loop-back test along the path to the target resource .'
178
- PATCH = 'PATCH ' , 'Apply partial modifications to a resource .'
169
+ CONNECT = 'CONNECT ' , 'Establish a connection to the server .'
170
+ DELETE = 'DELETE ' , 'Remove the target .'
171
+ GET = 'GET ' , 'Retrieve the target .'
172
+ HEAD = 'HEAD ' , 'Same as GET, but only retrieve the status line and header section .'
173
+ OPTIONS = 'OPTIONS ' , 'Describe the communication options for the target.'
174
+ PATCH = 'PATCH ' , 'Apply partial modifications to a target.'
175
+ POST = 'POST ' , 'Perform target-specific processing with the request payload .'
176
+ PUT = 'PUT ' , 'Replace the target with the request payload .'
177
+ TRACE = 'TRACE ' , 'Perform a message loop-back test along the path to the target .'
0 commit comments