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.
noneNo status available. (Eg, the message has not been sent yet)
continue100 Continue (HTTP)
switching-protocols101 Switching Protocols (HTTP)
processing102 Processing (WebDAV)
ok200 Success (HTTP). Also used by many lower-level soup routines to indicate success.
created201 Created (HTTP)
accepted202 Accepted (HTTP)
non-authoritative203 Non-Authoritative Information (HTTP)
no-content204 No Content (HTTP)
reset-content205 Reset Content (HTTP)
partial-content206 Partial Content (HTTP)
multi-status207 Multi-Status (WebDAV)
multiple-choices300 Multiple Choices (HTTP)
moved-permanently301 Moved Permanently (HTTP)
found302 Found (HTTP)
moved-temporarily302 Moved Temporarily (old name, RFC 2068)
see-other303 See Other (HTTP)
not-modified304 Not Modified (HTTP)
use-proxy305 Use Proxy (HTTP)
not-appearing-in-this-protocol306 [Unused] (HTTP)
temporary-redirect307 Temporary Redirect (HTTP)
permanent-redirect308 Permanent Redirect (HTTP)
bad-request400 Bad Request (HTTP)
unauthorized401 Unauthorized (HTTP)
payment-required402 Payment Required (HTTP)
forbidden403 Forbidden (HTTP)
not-found404 Not Found (HTTP)
method-not-allowed405 Method Not Allowed (HTTP)
not-acceptable406 Not Acceptable (HTTP)
proxy-authentication-required407 Proxy Authentication Required (HTTP)
proxy-unauthorizedshorter alias for proxy-authentication-required
request-timeout408 Request Timeout (HTTP)
conflict409 Conflict (HTTP)
gone410 Gone (HTTP)
length-required411 Length Required (HTTP)
precondition-failed412 Precondition Failed (HTTP)
request-entity-too-large413 Request Entity Too Large (HTTP)
request-uri-too-long414 Request-URI Too Long (HTTP)
unsupported-media-type415 Unsupported Media Type (HTTP)
requested-range-not-satisfiable416 Requested Range Not Satisfiable (HTTP)
invalid-rangeshorter alias for requested-range-not-satisfiable
expectation-failed417 Expectation Failed (HTTP)
misdirected-request421 Misdirected Request
unprocessable-entity422 Unprocessable Entity (WebDAV)
locked423 Locked (WebDAV)
failed-dependency424 Failed Dependency (WebDAV)
internal-server-error500 Internal Server Error (HTTP)
not-implemented501 Not Implemented (HTTP)
bad-gateway502 Bad Gateway (HTTP)
service-unavailable503 Service Unavailable (HTTP)
gateway-timeout504 Gateway Timeout (HTTP)
http-version-not-supported505 HTTP Version Not Supported (HTTP)
insufficient-storage507 Insufficient Storage (WebDAV)
not-extended510 Not Extended (RFC 2774)
Looks up the stock HTTP description of status-code.
There is no reason for you to ever use this function. If you
wanted the textual description for the Message:status-code of a
given Message, you should just look at the message’s
Message:reason-phrase. However, you should only do that for use
in debugging messages; HTTP reason phrases are not localized, and are
not generally very descriptive anyway, and so they should never be
presented to the user directly. Instead, you should create you own
error messages based on the status code, and on what you were trying to
do.
Passed: an unsigned 32-bit integer.
an HTTP status code
Returned: a string.
the (terse, English) description of status-code