Go to the source code of this file.
enum MHD_HTTP_StatusCode |
HTTP status codes as per RFC 7231 plus vendor extensions.
1xx: Informational - Request received, continuing process 2xx: Success - The action was successfully received, understood, and accepted 3xx: Redirection - Further action must be taken in order to complete the request 4xx: Client Error - The request contains bad syntax or cannot be fulfilled 5xx: Server Error - The server failed to fulfill an apparently valid request
Enumerator | |
---|---|
MHD_HTTP_CONTINUE | Continue [RFC7231, Section 6.2.1]. |
MHD_HTTP_SWITCHING_PROTOCOLS | Switching Protocols [RFC7231, Section 6.2.2]. |
MHD_HTTP_PROCESSING | Processing [RFC2518]. |
MHD_HTTP_EARLY_HINTS | Early Hints [RFC8297]. |
MHD_HTTP_OK | OK [RFC7231, Section 6.3.1]. |
MHD_HTTP_CREATED | Created [RFC7231, Section 6.3.2]. |
MHD_HTTP_ACCEPTED | Accepted [RFC7231, Section 6.3.3]. |
MHD_HTTP_NON_AUTHORITATIVE_INFORMATION | Non-Authoritative Information [RFC7231, Section 6.3.4]. |
MHD_HTTP_NO_CONTENT | No Content [RFC7231, Section 6.3.5]. |
MHD_HTTP_RESET_CONTENT | Reset Content [RFC7231, Section 6.3.6]. |
MHD_HTTP_PARTIAL_CONTENT | Partial Content [RFC7233, Section 4.1]. |
MHD_HTTP_MULTI_STATUS | Multi-Status [RFC4918]. |
MHD_HTTP_ALREADY_REPORTED | Already Reported [RFC5842]. |
MHD_HTTP_IM_USED | IM Used [RFC3229]. |
MHD_HTTP_MULTIPLE_CHOICES | Multiple Choices [RFC7231, Section 6.4.1]. |
MHD_HTTP_MOVED_PERMANENTLY | Moved Permanently [RFC7231, Section 6.4.2]. |
MHD_HTTP_FOUND | Found [RFC7231, Section 6.4.3]. |
MHD_HTTP_SEE_OTHER | See Other [RFC7231, Section 6.4.4]. |
MHD_HTTP_NOT_MODIFIED | Not Modified [RFC7232, Section 4.1]. |
MHD_HTTP_USE_PROXY | Use Proxy [RFC7231, Section 6.4.5]. |
MHD_HTTP_SWITCH_PROXY | Switch proxy (not used) [RFC7231, Section 6.4.6]. |
MHD_HTTP_TEMPORARY_REDIRECT | Temporary Redirect [RFC7231, Section 6.4.7]. |
MHD_HTTP_PERMANENT_REDIRECT | Permanent Redirect [RFC7538]. |
MHD_HTTP_BAD_REQUEST | Bad Request [RFC7231, Section 6.5.1]. |
MHD_HTTP_UNAUTHORIZED | Unauthorized [RFC7235, Section 3.1]. |
MHD_HTTP_PAYMENT_REQUIRED | Payment Required [RFC7231, Section 6.5.2]. |
MHD_HTTP_FORBIDDEN | Forbidden [RFC7231, Section 6.5.3]. |
MHD_HTTP_NOT_FOUND | Not Found [RFC7231, Section 6.5.4]. |
MHD_HTTP_METHOD_NOT_ALLOWED | Method Not Allowed [RFC7231, Section 6.5.5]. |
MHD_HTTP_NOT_ACCEPTABLE | Not Acceptable [RFC7231, Section 6.5.6]. |
MHD_HTTP_PROXY_AUTHENTICATION_REQUIRED | Proxy Authentication Required [RFC7235, Section 3.2]. |
MHD_HTTP_REQUEST_TIMEOUT | Request Timeout [RFC7231, Section 6.5.7]. |
MHD_HTTP_CONFLICT | Conflict [RFC7231, Section 6.5.8]. |
MHD_HTTP_GONE | Gone [RFC7231, Section 6.5.9]. |
MHD_HTTP_LENGTH_REQUIRED | Length Required [RFC7231, Section 6.5.10]. |
MHD_HTTP_PRECONDITION_FAILED | Precondition Failed [RFC7232, Section 4.2][RFC8144, Section 3.2]. |
MHD_HTTP_CONTENT_TOO_LARGE | Content Too Large [RFC9110, Section 15.5.14]. |
MHD_HTTP_URI_TOO_LONG | URI Too Long [RFC7231, Section 6.5.12]. |
MHD_HTTP_UNSUPPORTED_MEDIA_TYPE | Unsupported Media Type [RFC7231, Section 6.5.13][RFC7694, Section 3]. |
MHD_HTTP_RANGE_NOT_SATISFIABLE | Range Not Satisfiable [RFC7233, Section 4.4]. |
MHD_HTTP_EXPECTATION_FAILED | Expectation Failed [RFC7231, Section 6.5.14]. |
MHD_HTTP_MISDIRECTED_REQUEST | Misdirected Request [RFC7540, Section 9.1.2]. |
MHD_HTTP_UNPROCESSABLE_CONTENT | Unprocessable Content [RFC9110, Sectio 15.5.21]. |
MHD_HTTP_LOCKED | Locked [RFC4918]. |
MHD_HTTP_FAILED_DEPENDENCY | Failed Dependency [RFC4918]. |
MHD_HTTP_TOO_EARLY | Too Early [RFC8470]. |
MHD_HTTP_UPGRADE_REQUIRED | Upgrade Required [RFC7231, Section 6.5.15]. |
MHD_HTTP_PRECONDITION_REQUIRED | Precondition Required [RFC6585]. |
MHD_HTTP_TOO_MANY_REQUESTS | Too Many Requests [RFC6585]. |
MHD_HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE | Request Header Fields Too Large [RFC6585]. |
MHD_HTTP_UNAVAILABLE_FOR_LEGAL_REASONS | Unavailable For Legal Reasons [RFC7725]. |
MHD_HTTP_INTERNAL_SERVER_ERROR | Internal Server Error [RFC7231, Section 6.6.1]. |
MHD_HTTP_NOT_IMPLEMENTED | Not Implemented [RFC7231, Section 6.6.2]. |
MHD_HTTP_BAD_GATEWAY | Bad Gateway [RFC7231, Section 6.6.3]. |
MHD_HTTP_SERVICE_UNAVAILABLE | Service Unavailable [RFC7231, Section 6.6.4]. |
MHD_HTTP_GATEWAY_TIMEOUT | Gateway Timeout [RFC7231, Section 6.6.5]. |
MHD_HTTP_HTTP_VERSION_NOT_SUPPORTED | HTTP Version Not Supported [RFC7231, Section 6.6.6]. |
MHD_HTTP_VARIANT_ALSO_NEGOTIATES | Variant Also Negotiates [RFC2295]. |
MHD_HTTP_INSUFFICIENT_STORAGE | Insufficient Storage [RFC4918]. |
MHD_HTTP_LOOP_DETECTED | Loop Detected [RFC5842]. |
MHD_HTTP_NOT_EXTENDED | Not Extended [RFC2774]. |
MHD_HTTP_NETWORK_AUTHENTICATION_REQUIRED | Network Authentication Required [RFC6585]. |
MHD_HTTP_RETRY_WITH | Retry with [MS IIS extension]. |
MHD_HTTP_BANDWIDTH_LIMIT_EXCEEDED | Bandwidth Limit Exceeded [Apache extension]. |
MHD_HTTP_UNINITIALIZED | No status code, used if no HTTP status is available (uninitialized) [None]. |
Definition at line 40 of file http-status-codes.h.