HTTPRequestsClientResponse Class
- Inheritance
-
msrest.universal_http.HTTPClientResponseHTTPRequestsClientResponse
Constructor
HTTPRequestsClientResponse(request, requests_response)
Parameters
- request
- requests_response
Methods
| body |
Return the whole body as bytes in memory. |
| raise_for_status |
Raise for status. Should be overridden, but basic implementation provided. |
| text |
Return the whole body as a string. |
body
Return the whole body as bytes in memory.
body()
raise_for_status
Raise for status. Should be overridden, but basic implementation provided.
raise_for_status()
text
Return the whole body as a string.
text(encoding=None)
Parameters
- encoding
- str
default value: None
The encoding to apply. If None, use "utf-8-sig". Implementation can be smarter if they want (using headers).
Feedback
Submit and view feedback for