SoupStatus

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.

Values

ValueMeaning
None0

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

Continue100

100 Continue (HTTP)

SwitchingProtocols101

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)

NonAuthoritative203

203 Non-Authoritative Information (HTTP)

NoContent204

204 No Content (HTTP)

ResetContent205

205 Reset Content (HTTP)

PartialContent206

206 Partial Content (HTTP)

MultiStatus207

207 Multi-Status (WebDAV)

MultipleChoices300

300 Multiple Choices (HTTP)

MovedPermanently301

301 Moved Permanently (HTTP)

Found302

302 Found (HTTP)

MovedTemporarily302

302 Moved Temporarily (old name, RFC 2068)

SeeOther303

303 See Other (HTTP)

NotModified304

304 Not Modified (HTTP)

UseProxy305

305 Use Proxy (HTTP)

NotAppearingInThisProtocol306

306 Unused (HTTP)

TemporaryRedirect307

307 Temporary Redirect (HTTP)

PermanentRedirect308

308 Permanent Redirect (HTTP)

BadRequest400

400 Bad Request (HTTP)

Unauthorized401

401 Unauthorized (HTTP)

PaymentRequired402

402 Payment Required (HTTP)

Forbidden403

403 Forbidden (HTTP)

NotFound404

404 Not Found (HTTP)

MethodNotAllowed405

405 Method Not Allowed (HTTP)

NotAcceptable406

406 Not Acceptable (HTTP)

ProxyAuthenticationRequired407

407 Proxy Authentication Required (HTTP)

ProxyUnauthorized407
RequestTimeout408

408 Request Timeout (HTTP)

Conflict409

409 Conflict (HTTP)

Gone410

410 Gone (HTTP)

LengthRequired411

411 Length Required (HTTP)

PreconditionFailed412

412 Precondition Failed (HTTP)

RequestEntityTooLarge413

413 Request Entity Too Large (HTTP)

RequestUriTooLong414

414 Request-URI Too Long (HTTP)

UnsupportedMediaType415

415 Unsupported Media Type (HTTP)

RequestedRangeNotSatisfiable416

416 Requested Range Not Satisfiable (HTTP)

InvalidRange416
ExpectationFailed417

417 Expectation Failed (HTTP)

MisdirectedRequest421

421 Misdirected Request

UnprocessableEntity422

422 Unprocessable Entity (WebDAV)

Locked423

423 Locked (WebDAV)

FailedDependency424

424 Failed Dependency (WebDAV)

InternalServerError500

500 Internal Server Error (HTTP)

NotImplemented501

501 Not Implemented (HTTP)

BadGateway502

502 Bad Gateway (HTTP)

ServiceUnavailable503

503 Service Unavailable (HTTP)

GatewayTimeout504

504 Gateway Timeout (HTTP)

HttpVersionNotSupported505

505 HTTP Version Not Supported (HTTP)

InsufficientStorage507

507 Insufficient Storage (WebDAV)

NotExtended510

510 Not Extended (RFC 2774)