Enumeration

SoupStatus

since: 3.0

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.

Available since: 3.0

Members

SOUP_STATUS_NONE

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

  • Value: 0
  • Nickname: none
  • Available since: 3.0
SOUP_STATUS_CONTINUE

100 Continue (HTTP)

  • Value: 100
  • Nickname: continue
  • Available since: 3.0
SOUP_STATUS_SWITCHING_PROTOCOLS

101 Switching Protocols (HTTP)

  • Value: 101
  • Nickname: switching-protocols
  • Available since: 3.0
SOUP_STATUS_PROCESSING

102 Processing (WebDAV)

  • Value: 102
  • Nickname: processing
  • Available since: 3.0
SOUP_STATUS_OK

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

  • Value: 200
  • Nickname: ok
  • Available since: 3.0
SOUP_STATUS_CREATED

201 Created (HTTP)

  • Value: 201
  • Nickname: created
  • Available since: 3.0
SOUP_STATUS_ACCEPTED

202 Accepted (HTTP)

  • Value: 202
  • Nickname: accepted
  • Available since: 3.0
SOUP_STATUS_NON_AUTHORITATIVE

203 Non-Authoritative Information (HTTP)

  • Value: 203
  • Nickname: non-authoritative
  • Available since: 3.0
SOUP_STATUS_NO_CONTENT

204 No Content (HTTP)

  • Value: 204
  • Nickname: no-content
  • Available since: 3.0
SOUP_STATUS_RESET_CONTENT

205 Reset Content (HTTP)

  • Value: 205
  • Nickname: reset-content
  • Available since: 3.0
SOUP_STATUS_PARTIAL_CONTENT

206 Partial Content (HTTP)

  • Value: 206
  • Nickname: partial-content
  • Available since: 3.0
SOUP_STATUS_MULTI_STATUS

207 Multi-Status (WebDAV)

  • Value: 207
  • Nickname: multi-status
  • Available since: 3.0
SOUP_STATUS_MULTIPLE_CHOICES

300 Multiple Choices (HTTP)

  • Value: 300
  • Nickname: multiple-choices
  • Available since: 3.0
SOUP_STATUS_MOVED_PERMANENTLY

301 Moved Permanently (HTTP)

  • Value: 301
  • Nickname: moved-permanently
  • Available since: 3.0
SOUP_STATUS_FOUND

302 Found (HTTP)

  • Value: 302
  • Nickname: found
  • Available since: 3.0
SOUP_STATUS_MOVED_TEMPORARILY

302 Moved Temporarily (old name, RFC 2068)

  • Value: 302
  • Nickname: moved-temporarily
  • Available since: 3.0
SOUP_STATUS_SEE_OTHER

303 See Other (HTTP)

  • Value: 303
  • Nickname: see-other
  • Available since: 3.0
SOUP_STATUS_NOT_MODIFIED

304 Not Modified (HTTP)

  • Value: 304
  • Nickname: not-modified
  • Available since: 3.0
SOUP_STATUS_USE_PROXY

305 Use Proxy (HTTP)

  • Value: 305
  • Nickname: use-proxy
  • Available since: 3.0
SOUP_STATUS_NOT_APPEARING_IN_THIS_PROTOCOL

306 [Unused] (HTTP)

  • Value: 306
  • Nickname: not-appearing-in-this-protocol
  • Available since: 3.0
SOUP_STATUS_TEMPORARY_REDIRECT

307 Temporary Redirect (HTTP)

  • Value: 307
  • Nickname: temporary-redirect
  • Available since: 3.0
SOUP_STATUS_PERMANENT_REDIRECT

308 Permanent Redirect (HTTP)

  • Value: 308
  • Nickname: permanent-redirect
  • Available since: 3.0
SOUP_STATUS_BAD_REQUEST

400 Bad Request (HTTP)

  • Value: 400
  • Nickname: bad-request
  • Available since: 3.0
SOUP_STATUS_UNAUTHORIZED

401 Unauthorized (HTTP)

  • Value: 401
  • Nickname: unauthorized
  • Available since: 3.0
SOUP_STATUS_PAYMENT_REQUIRED

402 Payment Required (HTTP)

  • Value: 402
  • Nickname: payment-required
  • Available since: 3.0
SOUP_STATUS_FORBIDDEN

403 Forbidden (HTTP)

  • Value: 403
  • Nickname: forbidden
  • Available since: 3.0
SOUP_STATUS_NOT_FOUND

404 Not Found (HTTP)

  • Value: 404
  • Nickname: not-found
  • Available since: 3.0
SOUP_STATUS_METHOD_NOT_ALLOWED

405 Method Not Allowed (HTTP)

  • Value: 405
  • Nickname: method-not-allowed
  • Available since: 3.0
SOUP_STATUS_NOT_ACCEPTABLE

406 Not Acceptable (HTTP)

  • Value: 406
  • Nickname: not-acceptable
  • Available since: 3.0
SOUP_STATUS_PROXY_AUTHENTICATION_REQUIRED

407 Proxy Authentication Required (HTTP)

  • Value: 407
  • Nickname: proxy-authentication-required
  • Available since: 3.0
SOUP_STATUS_PROXY_UNAUTHORIZED

Shorter alias for SOUP_STATUS_PROXY_AUTHENTICATION_REQUIRED.

  • Value: 407
  • Nickname: proxy-unauthorized
  • Available since: 3.0
SOUP_STATUS_REQUEST_TIMEOUT

408 Request Timeout (HTTP)

  • Value: 408
  • Nickname: request-timeout
  • Available since: 3.0
SOUP_STATUS_CONFLICT

409 Conflict (HTTP)

  • Value: 409
  • Nickname: conflict
  • Available since: 3.0
SOUP_STATUS_GONE

410 Gone (HTTP)

  • Value: 410
  • Nickname: gone
  • Available since: 3.0
SOUP_STATUS_LENGTH_REQUIRED

411 Length Required (HTTP)

  • Value: 411
  • Nickname: length-required
  • Available since: 3.0
SOUP_STATUS_PRECONDITION_FAILED

412 Precondition Failed (HTTP)

  • Value: 412
  • Nickname: precondition-failed
  • Available since: 3.0
SOUP_STATUS_REQUEST_ENTITY_TOO_LARGE

413 Request Entity Too Large (HTTP)

  • Value: 413
  • Nickname: request-entity-too-large
  • Available since: 3.0
SOUP_STATUS_REQUEST_URI_TOO_LONG

414 Request-URI Too Long (HTTP)

  • Value: 414
  • Nickname: request-uri-too-long
  • Available since: 3.0
SOUP_STATUS_UNSUPPORTED_MEDIA_TYPE

415 Unsupported Media Type (HTTP)

  • Value: 415
  • Nickname: unsupported-media-type
  • Available since: 3.0
SOUP_STATUS_REQUESTED_RANGE_NOT_SATISFIABLE

416 Requested Range Not Satisfiable (HTTP)

  • Value: 416
  • Nickname: requested-range-not-satisfiable
  • Available since: 3.0
SOUP_STATUS_INVALID_RANGE

Shorter alias for SOUP_STATUS_REQUESTED_RANGE_NOT_SATISFIABLE.

  • Value: 416
  • Nickname: invalid-range
  • Available since: 3.0
SOUP_STATUS_EXPECTATION_FAILED

417 Expectation Failed (HTTP)

  • Value: 417
  • Nickname: expectation-failed
  • Available since: 3.0
SOUP_STATUS_MISDIRECTED_REQUEST

421 Misdirected Request.

  • Value: 421
  • Nickname: misdirected-request
  • Available since: 3.0
SOUP_STATUS_UNPROCESSABLE_ENTITY

422 Unprocessable Entity (WebDAV)

  • Value: 422
  • Nickname: unprocessable-entity
  • Available since: 3.0
SOUP_STATUS_LOCKED

423 Locked (WebDAV)

  • Value: 423
  • Nickname: locked
  • Available since: 3.0
SOUP_STATUS_FAILED_DEPENDENCY

424 Failed Dependency (WebDAV)

  • Value: 424
  • Nickname: failed-dependency
  • Available since: 3.0
SOUP_STATUS_INTERNAL_SERVER_ERROR

500 Internal Server Error (HTTP)

  • Value: 500
  • Nickname: internal-server-error
  • Available since: 3.0
SOUP_STATUS_NOT_IMPLEMENTED

501 Not Implemented (HTTP)

  • Value: 501
  • Nickname: not-implemented
  • Available since: 3.0
SOUP_STATUS_BAD_GATEWAY

502 Bad Gateway (HTTP)

  • Value: 502
  • Nickname: bad-gateway
  • Available since: 3.0
SOUP_STATUS_SERVICE_UNAVAILABLE

503 Service Unavailable (HTTP)

  • Value: 503
  • Nickname: service-unavailable
  • Available since: 3.0
SOUP_STATUS_GATEWAY_TIMEOUT

504 Gateway Timeout (HTTP)

  • Value: 504
  • Nickname: gateway-timeout
  • Available since: 3.0
SOUP_STATUS_HTTP_VERSION_NOT_SUPPORTED

505 HTTP Version Not Supported (HTTP)

  • Value: 505
  • Nickname: http-version-not-supported
  • Available since: 3.0
SOUP_STATUS_INSUFFICIENT_STORAGE

507 Insufficient Storage (WebDAV)

  • Value: 507
  • Nickname: insufficient-storage
  • Available since: 3.0
SOUP_STATUS_NOT_EXTENDED

510 Not Extended (RFC 2774)

  • Value: 510
  • Nickname: not-extended
  • Available since: 3.0

Type functions

soup_status_get_phrase

Looks up the stock HTTP description of status_code.

since: 3.0