Method |
__getstate__ |
Undocumented |
Method |
__init__ |
Undocumented |
Method |
__repr__ |
Undocumented |
Method |
__setstate__ |
Undocumented |
Async Method |
aclose |
Close the response and release the connection. Automatically called if the response body is read to completion. |
Async Method |
aiter_bytes |
A byte-iterator over the decoded response content. This allows us to handle gzip, deflate, and brotli encoded responses. |
Async Method |
aiter_lines |
Undocumented |
Async Method |
aiter_raw |
A byte-iterator over the raw response content. |
Async Method |
aiter_text |
A str-iterator over the decoded response content that handles both gzip, deflate, etc but also detects the content's string encoding. |
Async Method |
aread |
Read and return the response content. |
Method |
close |
Close the response and release the connection. Automatically called if the response body is read to completion. |
Method |
elapsed.setter |
Undocumented |
Method |
encoding.setter |
Undocumented |
Method |
iter_bytes |
A byte-iterator over the decoded response content. This allows us to handle gzip, deflate, and brotli encoded responses. |
Method |
iter_lines |
Undocumented |
Method |
iter_raw |
A byte-iterator over the raw response content. |
Method |
iter_text |
A str-iterator over the decoded response content that handles both gzip, deflate, etc but also detects the content's string encoding. |
Method |
json |
Undocumented |
Method |
raise_for_status |
Raise the HTTPStatusError if one occurred. |
Method |
read |
Read and return the response content. |
Method |
request.setter |
Undocumented |
Instance Variable |
extensions |
Undocumented |
Instance Variable |
headers |
Undocumented |
Instance Variable |
history |
Undocumented |
Instance Variable |
is_closed |
Undocumented |
Instance Variable |
is_stream_consumed |
Undocumented |
Instance Variable |
next_request |
Undocumented |
Instance Variable |
status_code |
Undocumented |
Instance Variable |
stream |
Undocumented |
Property |
apparent_encoding |
Return the encoding, as determined by charset_normalizer . |
Property |
charset_encoding |
Return the encoding, as specified by the Content-Type header. |
Property |
content |
Undocumented |
Property |
cookies |
Undocumented |
Property |
elapsed |
Returns the time taken for the complete request/response cycle to complete. |
Property |
encoding |
Return an encoding to use for decoding the byte content into text. The priority for determining this is given by... |
Property |
has_redirect_location |
Returns True for 3xx responses with a properly formed URL redirection, False otherwise. |
Property |
http_version |
Undocumented |
Property |
is_client_error |
A property which is True for 4xx status codes, False otherwise. |
Property |
is_error |
A property which is True for 4xx and 5xx status codes, False otherwise. |
Property |
is_informational |
A property which is True for 1xx status codes, False otherwise. |
Property |
is_redirect |
A property which is True for 3xx status codes, False otherwise. |
Property |
is_server_error |
A property which is True for 5xx status codes, False otherwise. |
Property |
is_success |
A property which is True for 2xx status codes, False otherwise. |
Property |
links |
Returns the parsed header links of the response, if any |
Property |
num_bytes_downloaded |
Undocumented |
Property |
reason_phrase |
Undocumented |
Property |
request |
Returns the request instance associated to the current response. |
Property |
text |
Undocumented |
Property |
url |
Returns the URL for which the request was made. |
Method |
_get_content_decoder |
Returns a decoder instance which can be used to decode the raw byte content, depending on the Content-Encoding used in the response. |
Method |
_prepare |
Undocumented |
Instance Variable |
_content |
Undocumented |
Instance Variable |
_decoder |
Undocumented |
Instance Variable |
_elapsed |
Undocumented |
Instance Variable |
_encoding |
Undocumented |
Instance Variable |
_num_bytes_downloaded |
Undocumented |
Instance Variable |
_request |
Undocumented |