Web Request Instance¶
Web request instances represent a singular in-progress, completed or failed web request. They are created via the Web Request Manager.
Member Variables¶
Variable | Description | Type |
---|---|---|
download_progress | Download percentage, represented as a number in the range 0-1. | |
error | Reason why the request failed to complete. If the server responds with a HTTP status code that represents a HTTP error (4xx/5xx), this is not considered a request error. |
|
is_error | If the request failed due to an error. | |
is_done | If the request completed or failed. If the request failed, is_error will be set. | |
response_code | Response HTTP status code. | |
text | Response body. | |
upload_progress | Upload percentage, represented as a number from 0-1. | |
url | The request's target URL. If the request was redirected, this will still return the initial URL. |