Mongrel2::Constants::

HTTP

module

HTTP status and result constants

Constants

ACCEPTED
AUTH_REQUIRED
BAD_GATEWAY
BAD_REQUEST
BODILESS_HTTP_RESPONSE_CODES

A registry of HTTP status codes that don't allow an entity body in the response.

CONFLICT
CONTINUE
CREATED
EXPECTATION_FAILED
FAILED_DEPENDENCY
FORBIDDEN
GATEWAY_TIME_OUT
GONE
INSUFFICIENT_STORAGE
LENGTH_REQUIRED
LOCKED
METHOD_NOT_ALLOWED
MOVED
MOVED_PERMANENTLY
MOVED_TEMPORARILY
MULTIPLE_CHOICES
MULTI_STATUS
NON_AUTHORITATIVE
NOT_ACCEPTABLE
NOT_EXTENDED
NOT_FOUND
NOT_IMPLEMENTED
NOT_MODIFIED
NO_CONTENT
OK
PARTIAL_CONTENT
PAYMENT_REQUIRED
PRECONDITION_FAILED
PROCESSING
PROXY_AUTHENTICATION_REQUIRED
RANGE_NOT_SATISFIABLE
RECONDITION_REQUIRED
REDIRECT
REQUEST_ENTITY_TOO_LARGE
REQUEST_HEADERS_TOO_LARGE
REQUEST_TIME_OUT
REQUEST_URI_TOO_LARGE
RESET_CONTENT
SEE_OTHER
SERVER_ERROR
SERVICE_UNAVAILABLE
STATUS_NAME

Stolen from Apache 2.2.6's modules/http/http_protocol.c

SWITCHING_PROTOCOLS
TEMPORARY_REDIRECT
TOO_MANY_REQUESTS
UNAUTHORIZED
UNAVAILABLE_DUE_TO_LEGALITIES
UNPROCESSABLE_ENTITY
UNSUPPORTED_MEDIA_TYPE
UPGRADE_REQUIRED
USE_PROXY
VARIANT_ALSO_VARIES
VERSION_NOT_SUPPORTED