ostk.io.ip.tcp.http.Response¶
- class Response(
- self: ostk.io.ip.tcp.http.Response,
- arg0: ostk::io::ip::tcp::http::Response::StatusCode,
- arg1: ostk.core.type.String,
- arg0: ostk::io::ip::tcp::http::Response::StatusCode,
Bases:
pybind11_object
Methods
- class StatusCode(self: ostk.io.ip.tcp.http.Response.StatusCode, value: int)¶
Bases:
pybind11_object
Members:
Undefined
Continue
SwitchingProtocols
Processing
EarlyHints
Ok
Created
Accepted
NonAuthoritativeInformation
NoContent
ResetContent
PartialContent
MultiStatus
AlreadyReported
IMUsed
MultipleChoices
MovedPermanently
Found
SeeOther
NotModified
UseProxy
SwitchProxy
TemporaryRedirect
PermanentRedirect
BadRequest
Unauthorized
PaymentRequired
Forbidden
NotFound
MethodNotAllowed
NotAcceptable
ProxyAuthenticationRequired
RequestTimeout
Conflict
Gone
LengthRequired
PreconditionFailed
PayloadTooLarge
URITooLong
UnsupportedMediaType
RangeNotSatisfiable
ExpectationFailed
ImATeapot
MisdirectedRequest
UnprocessableEntity
Locked
FailedDependency
UpgradeRequired
PreconditionRequired
TooManyRequests
RequestHeaderFieldsTooLarge
UnavailableForLegalReasons
InternalServerError
NotImplemented
BadGateway
ServiceUnavailable
GatewayTimeout
HTTPVersionNotSupported
VariantAlsoNegotiates
InsufficientStorage
LoopDetected
NotExtended
NetworkAuthenticationRequire
- property name¶
- get_body(self: ostk.io.ip.tcp.http.Response) ostk.core.type.String ¶
- get_status_code(
- self: ostk.io.ip.tcp.http.Response,
- is_defined(self: ostk.io.ip.tcp.http.Response) bool ¶
- is_ok(self: ostk.io.ip.tcp.http.Response) bool ¶
- static string_from_status_code(
- arg0: ostk::io::ip::tcp::http::Response::StatusCode,
- static undefined() ostk.io.ip.tcp.http.Response ¶