Definition at line 35 of file rest.py.
◆ __init__()
def cFSPlib.python_api_client.swagger_client.rest.RESTResponse.__init__ |
( |
|
self, |
|
|
|
resp |
|
) |
| |
Definition at line 37 of file rest.py.
37 def __init__(self, resp):
38 self.urllib3_response = resp
39 self.status = resp.status
40 self.reason = resp.reason
◆ getheader()
def cFSPlib.python_api_client.swagger_client.rest.RESTResponse.getheader |
( |
|
self, |
|
|
|
name, |
|
|
|
default = None |
|
) |
| |
Returns a given response header.
Definition at line 47 of file rest.py.
47 def getheader(self, name, default=None):
48 """Returns a given response header."""
49 return self.urllib3_response.getheader(name, default)
◆ getheaders()
def cFSPlib.python_api_client.swagger_client.rest.RESTResponse.getheaders |
( |
|
self | ) |
|
Returns a dictionary of the response headers.
Definition at line 43 of file rest.py.
44 """Returns a dictionary of the response headers."""
45 return self.urllib3_response.getheaders()
◆ data
cFSPlib.python_api_client.swagger_client.rest.RESTResponse.data |
◆ reason
cFSPlib.python_api_client.swagger_client.rest.RESTResponse.reason |
◆ status
cFSPlib.python_api_client.swagger_client.rest.RESTResponse.status |
◆ urllib3_response
cFSPlib.python_api_client.swagger_client.rest.RESTResponse.urllib3_response |
The documentation for this class was generated from the following file:
- repos_for_Dox/cFSP/cFSPlib/python_api_client/swagger_client/rest.py