Soup.Status
Description: Reference for Soup.Status

### Enumeration

# SoupStatus

#### Declaration

    enum Soup.Status

#### Description [src]

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.

#### Members

`SOUP_STATUS_NONE`

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

  - Value: `0`
  - Available since: 3.0
`SOUP_STATUS_CONTINUE`

  100 Continue (HTTP).

  - Value: `100`
  - Available since: 3.0
`SOUP_STATUS_SWITCHING_PROTOCOLS`

  101 Switching Protocols (HTTP).

  - Value: `101`
  - Available since: 3.0
`SOUP_STATUS_PROCESSING`

  102 Processing (WebDAV).

  - Value: `102`
  - Available since: 3.0
`SOUP_STATUS_OK`

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

  - Value: `200`
  - Available since: 3.0
`SOUP_STATUS_CREATED`

  201 Created (HTTP).

  - Value: `201`
  - Available since: 3.0
`SOUP_STATUS_ACCEPTED`

  202 Accepted (HTTP).

  - Value: `202`
  - Available since: 3.0
`SOUP_STATUS_NON_AUTHORITATIVE`

  203 Non-Authoritative Information (HTTP).

  - Value: `203`
  - Available since: 3.0
`SOUP_STATUS_NO_CONTENT`

  204 No Content (HTTP).

  - Value: `204`
  - Available since: 3.0
`SOUP_STATUS_RESET_CONTENT`

  205 Reset Content (HTTP).

  - Value: `205`
  - Available since: 3.0
`SOUP_STATUS_PARTIAL_CONTENT`

  206 Partial Content (HTTP).

  - Value: `206`
  - Available since: 3.0
`SOUP_STATUS_MULTI_STATUS`

  207 Multi-Status (WebDAV).

  - Value: `207`
  - Available since: 3.0
`SOUP_STATUS_MULTIPLE_CHOICES`

  300 Multiple Choices (HTTP).

  - Value: `300`
  - Available since: 3.0
`SOUP_STATUS_MOVED_PERMANENTLY`

  301 Moved Permanently (HTTP).

  - Value: `301`
  - Available since: 3.0
`SOUP_STATUS_FOUND`

  302 Found (HTTP).

  - Value: `302`
  - Available since: 3.0
`SOUP_STATUS_MOVED_TEMPORARILY`

  302 Moved Temporarily (old name, RFC 2068).

  - Value: `302`
  - Available since: 3.0
`SOUP_STATUS_SEE_OTHER`

  303 See Other (HTTP).

  - Value: `303`
  - Available since: 3.0
`SOUP_STATUS_NOT_MODIFIED`

  304 Not Modified (HTTP).

  - Value: `304`
  - Available since: 3.0
`SOUP_STATUS_USE_PROXY`

  305 Use Proxy (HTTP).

  - Value: `305`
  - Available since: 3.0
`SOUP_STATUS_NOT_APPEARING_IN_THIS_PROTOCOL`

  306 [Unused] (HTTP).

  - Value: `306`
  - Available since: 3.0
`SOUP_STATUS_TEMPORARY_REDIRECT`

  307 Temporary Redirect (HTTP).

  - Value: `307`
  - Available since: 3.0
`SOUP_STATUS_PERMANENT_REDIRECT`

  308 Permanent Redirect (HTTP).

  - Value: `308`
  - Available since: 3.0
`SOUP_STATUS_BAD_REQUEST`

  400 Bad Request (HTTP).

  - Value: `400`
  - Available since: 3.0
`SOUP_STATUS_UNAUTHORIZED`

  401 Unauthorized (HTTP).

  - Value: `401`
  - Available since: 3.0
`SOUP_STATUS_PAYMENT_REQUIRED`

  402 Payment Required (HTTP).

  - Value: `402`
  - Available since: 3.0
`SOUP_STATUS_FORBIDDEN`

  403 Forbidden (HTTP).

  - Value: `403`
  - Available since: 3.0
`SOUP_STATUS_NOT_FOUND`

  404 Not Found (HTTP).

  - Value: `404`
  - Available since: 3.0
`SOUP_STATUS_METHOD_NOT_ALLOWED`

  405 Method Not Allowed (HTTP).

  - Value: `405`
  - Available since: 3.0
`SOUP_STATUS_NOT_ACCEPTABLE`

  406 Not Acceptable (HTTP).

  - Value: `406`
  - Available since: 3.0
`SOUP_STATUS_PROXY_AUTHENTICATION_REQUIRED`

  407 Proxy Authentication Required (HTTP).

  - Value: `407`
  - Available since: 3.0
`SOUP_STATUS_PROXY_UNAUTHORIZED`

  Shorter alias for `SOUP_STATUS_PROXY_AUTHENTICATION_REQUIRED`.

  - Value: `407`
  - Available since: 3.0
`SOUP_STATUS_REQUEST_TIMEOUT`

  408 Request Timeout (HTTP).

  - Value: `408`
  - Available since: 3.0
`SOUP_STATUS_CONFLICT`

  409 Conflict (HTTP).

  - Value: `409`
  - Available since: 3.0
`SOUP_STATUS_GONE`

  410 Gone (HTTP).

  - Value: `410`
  - Available since: 3.0
`SOUP_STATUS_LENGTH_REQUIRED`

  411 Length Required (HTTP).

  - Value: `411`
  - Available since: 3.0
`SOUP_STATUS_PRECONDITION_FAILED`

  412 Precondition Failed (HTTP).

  - Value: `412`
  - Available since: 3.0
`SOUP_STATUS_REQUEST_ENTITY_TOO_LARGE`

  413 Request Entity Too Large (HTTP).

  - Value: `413`
  - Available since: 3.0
`SOUP_STATUS_REQUEST_URI_TOO_LONG`

  414 Request-URI Too Long (HTTP).

  - Value: `414`
  - Available since: 3.0
`SOUP_STATUS_UNSUPPORTED_MEDIA_TYPE`

  415 Unsupported Media Type (HTTP).

  - Value: `415`
  - Available since: 3.0
`SOUP_STATUS_REQUESTED_RANGE_NOT_SATISFIABLE`

  416 Requested Range Not Satisfiable (HTTP).

  - Value: `416`
  - Available since: 3.0
`SOUP_STATUS_INVALID_RANGE`

  Shorter alias for `SOUP_STATUS_REQUESTED_RANGE_NOT_SATISFIABLE`.

  - Value: `416`
  - Available since: 3.0
`SOUP_STATUS_EXPECTATION_FAILED`

  417 Expectation Failed (HTTP).

  - Value: `417`
  - Available since: 3.0
`SOUP_STATUS_MISDIRECTED_REQUEST`

  421 Misdirected Request.

  - Value: `421`
  - Available since: 3.0
`SOUP_STATUS_UNPROCESSABLE_ENTITY`

  422 Unprocessable Entity (WebDAV).

  - Value: `422`
  - Available since: 3.0
`SOUP_STATUS_LOCKED`

  423 Locked (WebDAV).

  - Value: `423`
  - Available since: 3.0
`SOUP_STATUS_FAILED_DEPENDENCY`

  424 Failed Dependency (WebDAV).

  - Value: `424`
  - Available since: 3.0
`SOUP_STATUS_INTERNAL_SERVER_ERROR`

  500 Internal Server Error (HTTP).

  - Value: `500`
  - Available since: 3.0
`SOUP_STATUS_NOT_IMPLEMENTED`

  501 Not Implemented (HTTP).

  - Value: `501`
  - Available since: 3.0
`SOUP_STATUS_BAD_GATEWAY`

  502 Bad Gateway (HTTP).

  - Value: `502`
  - Available since: 3.0
`SOUP_STATUS_SERVICE_UNAVAILABLE`

  503 Service Unavailable (HTTP).

  - Value: `503`
  - Available since: 3.0
`SOUP_STATUS_GATEWAY_TIMEOUT`

  504 Gateway Timeout (HTTP).

  - Value: `504`
  - Available since: 3.0
`SOUP_STATUS_HTTP_VERSION_NOT_SUPPORTED`

  505 HTTP Version Not Supported (HTTP).

  - Value: `505`
  - Available since: 3.0
`SOUP_STATUS_INSUFFICIENT_STORAGE`

  507 Insufficient Storage (WebDAV).

  - Value: `507`
  - Available since: 3.0
`SOUP_STATUS_NOT_EXTENDED`

  510 Not Extended (RFC 2774).

  - Value: `510`
  - Available since: 3.0

#### Type functions

###### soup_status_get_phrase

Looks up the stock HTTP description of `status_code`.