Value | Meaning |
---|---|
NONE0 | No status available. (Eg, the message has not been sent yet) |
CANCELLED1 | Message was cancelled locally |
CANT_RESOLVE2 | Unable to resolve destination host name |
CANT_RESOLVE_PROXY3 | Unable to resolve proxy host name |
CANT_CONNECT4 | Unable to connect to remote host |
CANT_CONNECT_PROXY5 | Unable to connect to proxy |
SSL_FAILED6 | SSL/TLS negotiation failed |
IO_ERROR7 | A network error occurred, or the other end closed the connection unexpectedly |
MALFORMED8 | Malformed data (usually a programmer error) |
TRY_AGAIN9 | Used internally |
TOO_MANY_REDIRECTS10 | There were too many redirections |
TLS_FAILED11 | Used internally |
CONTINUE100 | 100 Continue (HTTP) |
SWITCHING_PROTOCOLS101 | 101 Switching Protocols (HTTP) |
PROCESSING102 | 102 Processing (WebDAV) |
OK200 | 200 Success (HTTP). Also used by many lower-level soup routines to indicate success. |
CREATED201 | 201 Created (HTTP) |
ACCEPTED202 | 202 Accepted (HTTP) |
NON_AUTHORITATIVE203 | 203 Non-Authoritative Information (HTTP) |
NO_CONTENT204 | 204 No Content (HTTP) |
RESET_CONTENT205 | 205 Reset Content (HTTP) |
PARTIAL_CONTENT206 | 206 Partial Content (HTTP) |
MULTI_STATUS207 | 207 Multi-Status (WebDAV) |
MULTIPLE_CHOICES300 | 300 Multiple Choices (HTTP) |
MOVED_PERMANENTLY301 | 301 Moved Permanently (HTTP) |
FOUND302 | 302 Found (HTTP) |
MOVED_TEMPORARILY302 | 302 Moved Temporarily (old name, RFC 2068) |
SEE_OTHER303 | 303 See Other (HTTP) |
NOT_MODIFIED304 | 304 Not Modified (HTTP) |
USE_PROXY305 | 305 Use Proxy (HTTP) |
NOT_APPEARING_IN_THIS_PROTOCOL306 | 306 Unused (HTTP) |
TEMPORARY_REDIRECT307 | 307 Temporary Redirect (HTTP) |
PERMANENT_REDIRECT308 | |
BAD_REQUEST400 | 400 Bad Request (HTTP) |
UNAUTHORIZED401 | 401 Unauthorized (HTTP) |
PAYMENT_REQUIRED402 | 402 Payment Required (HTTP) |
FORBIDDEN403 | 403 Forbidden (HTTP) |
NOT_FOUND404 | 404 Not Found (HTTP) |
METHOD_NOT_ALLOWED405 | 405 Method Not Allowed (HTTP) |
NOT_ACCEPTABLE406 | 406 Not Acceptable (HTTP) |
PROXY_AUTHENTICATION_REQUIRED407 | 407 Proxy Authentication Required (HTTP) |
PROXY_UNAUTHORIZED407 | shorter alias for %SOUP_STATUS_PROXY_AUTHENTICATION_REQUIRED |
REQUEST_TIMEOUT408 | 408 Request Timeout (HTTP) |
CONFLICT409 | 409 Conflict (HTTP) |
GONE410 | 410 Gone (HTTP) |
LENGTH_REQUIRED411 | 411 Length Required (HTTP) |
PRECONDITION_FAILED412 | 412 Precondition Failed (HTTP) |
REQUEST_ENTITY_TOO_LARGE413 | 413 Request Entity Too Large (HTTP) |
REQUEST_URI_TOO_LONG414 | 414 Request-URI Too Long (HTTP) |
UNSUPPORTED_MEDIA_TYPE415 | 415 Unsupported Media Type (HTTP) |
REQUESTED_RANGE_NOT_SATISFIABLE416 | 416 Requested Range Not Satisfiable (HTTP) |
INVALID_RANGE416 | shorter alias for %SOUP_STATUS_REQUESTED_RANGE_NOT_SATISFIABLE |
EXPECTATION_FAILED417 | 417 Expectation Failed (HTTP) |
UNPROCESSABLE_ENTITY422 | 422 Unprocessable Entity (WebDAV) |
LOCKED423 | 423 Locked (WebDAV) |
FAILED_DEPENDENCY424 | 424 Failed Dependency (WebDAV) |
INTERNAL_SERVER_ERROR500 | 500 Internal Server Error (HTTP) |
NOT_IMPLEMENTED501 | 501 Not Implemented (HTTP) |
BAD_GATEWAY502 | 502 Bad Gateway (HTTP) |
SERVICE_UNAVAILABLE503 | 503 Service Unavailable (HTTP) |
GATEWAY_TIMEOUT504 | 504 Gateway Timeout (HTTP) |
HTTP_VERSION_NOT_SUPPORTED505 | 505 HTTP Version Not Supported (HTTP) |
INSUFFICIENT_STORAGE507 | 507 Insufficient Storage (WebDAV) |
NOT_EXTENDED510 | 510 Not Extended (RFC 2774) |
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.
Prior to 2.44 this type was called <literal>SoupKnownStatusCode</literal>, but the individual values have always had the names they have now.