Mila
Deep Neural Network Library
Loading...
Searching...
No Matches
Mila::Distribution::HttpResponse Struct Referenceexport

Public Attributes

uint64_t content_length { 0 }
 Server-reported length of this response body. Zero if absent.
long http_code { 0 }
 Zero when the request never completed.
std::string location
 The Location header verbatim, empty when absent. Resolving it is the client's job.
std::string message
 Detail on failure, or a bounded prefix of a non-2xx body. Never contains a token.
bool transport_failed { false }
 Connection, TLS or I/O failure – distinct from any HTTP status.

The documentation for this struct was generated from the following file: