Status

enum Status : Enum<Status>

These represent the known HTTP status code values, plus various network and internal errors.

Note that no libsoup functions take or return this type directly; any function that works with status codes will accept unrecognized status codes as well.

Entries

Link copied to clipboard

No status available. (Eg, the message has not been sent yet)

Link copied to clipboard

100 Continue (HTTP)

Link copied to clipboard

101 Switching Protocols (HTTP)

Link copied to clipboard

102 Processing (WebDAV)

Link copied to clipboard

200 Success (HTTP). Also used by many lower-level soup routines to indicate success.

Link copied to clipboard

201 Created (HTTP)

Link copied to clipboard

202 Accepted (HTTP)

Link copied to clipboard

203 Non-Authoritative Information (HTTP)

Link copied to clipboard

204 No Content (HTTP)

Link copied to clipboard

205 Reset Content (HTTP)

Link copied to clipboard

206 Partial Content (HTTP)

Link copied to clipboard

207 Multi-Status (WebDAV)

Link copied to clipboard

300 Multiple Choices (HTTP)

Link copied to clipboard

301 Moved Permanently (HTTP)

Link copied to clipboard

302 Found (HTTP)

Link copied to clipboard

302 Moved Temporarily (old name, RFC 2068)

Link copied to clipboard

303 See Other (HTTP)

Link copied to clipboard

304 Not Modified (HTTP)

Link copied to clipboard

305 Use Proxy (HTTP)

Link copied to clipboard
Link copied to clipboard

307 Temporary Redirect (HTTP)

Link copied to clipboard

308 Permanent Redirect (HTTP)

Link copied to clipboard

400 Bad Request (HTTP)

Link copied to clipboard

401 Unauthorized (HTTP)

Link copied to clipboard

402 Payment Required (HTTP)

Link copied to clipboard

403 Forbidden (HTTP)

Link copied to clipboard

404 Not Found (HTTP)

Link copied to clipboard

405 Method Not Allowed (HTTP)

Link copied to clipboard

406 Not Acceptable (HTTP)

Link copied to clipboard

407 Proxy Authentication Required (HTTP)

Link copied to clipboard

shorter alias for %SOUP_STATUS_PROXY_AUTHENTICATION_REQUIRED

Link copied to clipboard

408 Request Timeout (HTTP)

Link copied to clipboard

409 Conflict (HTTP)

Link copied to clipboard

410 Gone (HTTP)

Link copied to clipboard

411 Length Required (HTTP)

Link copied to clipboard

412 Precondition Failed (HTTP)

Link copied to clipboard

413 Request Entity Too Large (HTTP)

Link copied to clipboard

414 Request-URI Too Long (HTTP)

Link copied to clipboard

415 Unsupported Media Type (HTTP)

Link copied to clipboard

416 Requested Range Not Satisfiable (HTTP)

Link copied to clipboard

shorter alias for %SOUP_STATUS_REQUESTED_RANGE_NOT_SATISFIABLE

Link copied to clipboard

417 Expectation Failed (HTTP)

Link copied to clipboard

421 Misdirected Request

Link copied to clipboard

422 Unprocessable Entity (WebDAV)

Link copied to clipboard

423 Locked (WebDAV)

Link copied to clipboard

424 Failed Dependency (WebDAV)

Link copied to clipboard

500 Internal Server Error (HTTP)

Link copied to clipboard

501 Not Implemented (HTTP)

Link copied to clipboard

502 Bad Gateway (HTTP)

Link copied to clipboard

503 Service Unavailable (HTTP)

Link copied to clipboard

504 Gateway Timeout (HTTP)

Link copied to clipboard

505 HTTP Version Not Supported (HTTP)

Link copied to clipboard

507 Insufficient Storage (WebDAV)

Link copied to clipboard

510 Not Extended (RFC 2774)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val nativeValue: <Error class: unknown class>
Link copied to clipboard

Functions

Link copied to clipboard
fun valueOf(value: String): Status

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.