|
Mila
Deep Neural Network Library
|
Public Member Functions | |
| bool | ok () const noexcept |
Public Attributes | |
| uint64_t | bytes_received { 0 } |
| uint64_t | content_length { 0 } |
| Server-reported total for this transfer, excluding any resumed prefix. Zero if absent. | |
| std::string | final_url |
| The URL actually being fetched when the result was produced, which after a redirect is not the one requested. | |
| long | http_code { 0 } |
| std::string | message |
| Populated on failure. Never contains the authorization token. | |
| HttpStatus | status { HttpStatus::TransportError } |
| std::string Mila::Distribution::HttpResult::final_url |
The URL actually being fetched when the result was produced, which after a redirect is not the one requested.
Reporting the requested URL instead hides which hop failed.