17 #ifndef _HTTP_CONSTANTS_
18 #define _HTTP_CONSTANTS_
static const uint8_t HTTP_METHOD_PROPPATCH
static const uint8_t HTTP_METHOD_UNLOCK
static const uint16_t HTTP_RESPONSE_CREATED
The request has succeeded and a new resource has been created as a result of it.
static const uint8_t HTTP_METHOD_OPTIONS
static const uint16_t HTTP_RESPONSE_MULTIPLE_CHOICE
The request has more than one possible responses.
static const char HTTP_RESPONSE_METHOD_NOT_ALLOWED_STR[]
static const uint8_t HTTP_METHOD_MERGE
static const char HTTP_RESPONSE_TEMPORARY_REDIRECT_STR[]
static const uint16_t HTTP_RESPONSE_CONFLICT
This response would be sent when a request conflict with current state of server. ...
static const uint8_t HTTP_METHOD_UPDATE
static const char HTTP_RESPONSE_HTTP_VERSION_NOT_SUPPORTED_STR[]
static const char HTTP_RESPONSE_FORBIDDEN_STR[]
static const char HTTP_RESPONSE_USE_PROXY_STR[]
static const uint16_t HTTP_RESPONSE_SEE_OTHER
Server sent this response to directing client to get requested resource to another URI with an GET re...
static const char HTTP_RESPONSE_UNSUPPORTED_MEDIA_TYPE_STR[]
static const uint16_t HTTP_RESPONSE_NON_AUTHORITATIVE_INFORMATION
This response code means returned meta-information set is not exact set as available from the origin ...
static const uint16_t HTTP_RESPONSE_UNSUPPORTED_MEDIA_TYPE
The media format of the requested data is not supported by the server, so the server is rejecting the...
static const uint16_t HTTP_RESPONSE_REQUEST_TIMEOUT
This response is sent on an idle connection by some servers, even without any previous request by the...
static const uint16_t HTTP_RESPONSE_ACCEPTED
The request has been received but not yet acted upon.
static const char HTTP_RESPONSE_ACCEPTED_STR[]
static const uint8_t HTTP_METHOD_MKWORKSPACE
static const uint16_t HTTP_RESPONSE_PARTIAL_CONTENT
This response code is used because of range header sent by the client to separate download into multi...
static const char HTTP_RESPONSE_MOVED_PERMANENTLY_STR[]
static const char HTTP_RESPONSE_INTERNAL_SERVER_ERROR_STR[]
static const char HTTP_RESPONSE_REQUEST_URI_TOO_LONG_STR[]
static const uint16_t HTTP_RESPONSE_NOT_ACCEPTABLE
This response is sent when the web server, after performing server-driven content negotiation...
static const uint8_t HTTP_METHOD_REPORT
static const char HTTP_RESPONSE_PROXY_AUTHENTICATION_REQUIRED_STR[]
static const char HTTP_RESPONSE_NO_CONTENT_STR[]
static const uint8_t HTTP_METHOD_GET
static const char HTTP_RESPONSE_FOUND_STR[]
static const uint16_t HTTP_RESPONSE_NOT_MODIFIED
This is used for caching purposes.
static const uint16_t HTTP_RESPONSE_HTTP_VERSION_NOT_SUPPORTED
The HTTP version used in the request is not supported by the server.
static const uint16_t HTTP_RESPONSE_PERMANENT_REDIRECT
This means that the resource is now permanently located at another URI, specified by the Location: HT...
static const uint16_t HTTP_RESPONSE_INTERNAL_SERVER_ERROR
The server has encountered a situation it doesn't know how to handle.
static const uint8_t HTTP_METHOD_SEARCH
static const uint8_t HTTP_METHOD_MKACTIVITY
static const char HTTP_RESPONSE_CREATED_STR[]
static const uint8_t HTTP_METHOD_POST
static const uint8_t HTTP_METHOD_UNCHECKOUT
static const uint16_t HTTP_RESPONSE_PAYMENT_REQUIRED
This response code is reserved for future use.
static const uint8_t HTTP_METHOD_PUT
static const uint16_t HTTP_RESPONSE_CONTINUE
This interim response indicates that everything so far is OK and that the client should continue with...
static const char HTTP_RESPONSE_BAD_REQUEST_STR[]
static const char HTTP_RESPONSE_SERVICE_UNAVAILABLE_STR[]
static const char HTTP_RESPONSE_MULTIPLE_CHOICE_STR[]
static const uint8_t HTTP_METHOD_MOVE
static const uint8_t HTTP_METHOD_ACL
static const uint16_t HTTP_RESPONSE_NO_CONTENT
There is no content to send for this request, but the headers may be useful.
static const char HTTP_RESPONSE_NOT_ACCEPTABLE_STR[]
static const char HTTP_RESPONSE_PARTIAL_CONTENT_STR[]
static const uint16_t HTTP_RESPONSE_MOVED_PERMANENTLY
This response code means that URI of requested resource has been changed.
static const uint16_t HTTP_RESPONSE_FOUND
This response code means that URI of requested resource has been changed temporarily.
static const char HTTP_RESPONSE_UNAUTHORIZED_STR[]
static const uint8_t HTTP_METHOD_CHECKOUT
static const char HTTP_RESPONSE_PRECONDITION_FAILED_STR[]
static const uint8_t HTTP_METHOD_LOCK
static const uint8_t HTTP_METHOD_HEAD
static const char HTTP_RESPONSE_NON_AUTHORITATIVE_INFORMATION_STR[]
static const uint16_t HTTP_RESPONSE_REQUEST_URI_TOO_LONG
The URI requested by the client is too long for the server to handle.
static const uint16_t HTTP_RESPONSE_GATEWAY_TIMEOUT
This error response is given when the server is acting as a gateway and cannot get a response in time...
static const uint16_t HTTP_RESPONSE_PROXY_AUTHENTICATION_REQUIRED
This is similar to 401 but authentication is needed to be done by a proxy.
static const uint16_t HTTP_RESPONSE_BAD_REQUEST
This response means that server could not understand the request due to invalid syntax.
static const char HTTP_RESPONSE_NOT_FOUND_STR[]
static const uint8_t HTTP_METHOD_COPY
static const uint16_t HTTP_RESPONSE_EXPECTATION_FAILED
This response code means the expectation indicated by the Expect request header field can't be met by...
static const char HTTP_RESPONSE_SWITCHING_PROTOCOL_STR[]
static const uint16_t HTTP_RESPONSE_OK
The request has succeeded.
static const uint16_t HTTP_RESPONSE_PRECONDITION_FAILED
The client has indicated preconditions in its headers which the server does not meet.
static const uint16_t HTTP_RESPONSE_REQUESTED_RANGE_NOT_SATISFIABLE
The range specified by the Range header field in the request can't be fulfilled; it's possible that t...
static const uint8_t HTTP_METHOD_CHECKIN
static const char HTTP_RESPONSE_PERMANENT_REDIRECT_STR[]
static const char HTTP_RESPONSE_SEE_OTHER_STR[]
static const uint8_t HTTP_METHOD_ORDERPATCH
static const uint8_t HTTP_METHOD_VERSION_CONTROL
static const uint16_t HTTP_RESPONSE_SWITCHING_PROTOCOL
This code is sent in response to an Upgrade: request header by the client, and indicates that the pro...
static const uint8_t HTTP_METHOD_PROPFIND
static const uint16_t HTTP_RESPONSE_BAD_GATEWAY
This error response means that the server, while working as a gateway to get a response needed to han...
static const uint8_t HTTP_METHOD_CONNECT
static const uint16_t HTTP_RESPONSE_RESET_CONTENT
This response code is sent after accomplishing request to tell user agent reset document view which s...
static const uint16_t HTTP_RESPONSE_REQUEST_ENTITY_TOO_LARGE
Request entity is larger than limits defined by server; the server might close the connection or retu...
static const char HTTP_RESPONSE_OK_STR[]
static const char HTTP_RESPONSE_CONTINUE_STR[]
static const uint16_t HTTP_RESPONSE_UNUSED
This response code is no longer used, it is just reserved currently.
static const uint8_t HTTP_METHOD_BASELINE_CONTROL
static const uint16_t HTTP_RESPONSE_GONE
This response would be sent when requested content has been deleted from server.
static const char HTTP_RESPONSE_REQUESTED_RANGE_NOT_SATISFIABLE_STR[]
static const char HTTP_RESPONSE_LENGTH_REQUIRED_STR[]
static const uint16_t HTTP_RESPONSE_LENGTH_REQUIRED
Server rejected the request because the Content-Length header field is not defined and the server req...
static const uint16_t HTTP_RESPONSE_USE_PROXY
This means requested response must be accessed by a proxy.
static const char HTTP_RESPONSE_RESET_CONTENT_STR[]
static const uint16_t HTTP_RESPONSE_NOT_FOUND
Server can not find requested resource.
static const char HTTP_RESPONSE_PAYMENT_REQUIRED_STR[]
static const uint8_t HTTP_METHOD_LABEL
static const char HTTP_RESPONSE_NOT_IMPLEMENTED_STR[]
static const uint8_t HTTP_METHOD_TRACE
static const char HTTP_RESPONSE_NOT_MODIFIED_STR[]
static const char HTTP_RESPONSE_UNUSED_STR[]
static const uint16_t HTTP_RESPONSE_TEMPORARY_REDIRECT
Server sent this response to directing client to get requested resource to another URI with same meth...
static const char HTTP_RESPONSE_GONE_STR[]
static const uint16_t HTTP_RESPONSE_UNAUTHORIZED
Authentication is needed to get requested response.
static const uint8_t HTTP_METHOD_DELETE
static const char HTTP_RESPONSE_GATEWAY_TIMEOUT_STR[]
static const uint16_t HTTP_RESPONSE_METHOD_NOT_ALLOWED
The request method is known by the server but has been disabled and cannot be used.
static const char HTTP_RESPONSE_CONFLICT_STR[]
static const char HTTP_RESPONSE_BAD_GATEWAY_STR[]
static const char HTTP_RESPONSE_REQUEST_ENTITY_TOO_LARGE_STR[]
static const char HTTP_RESPONSE_REQUEST_TIMEOUT_STR[]
static const char HTTP_RESPONSE_EXPECTATION_FAILED_STR[]
static const uint16_t HTTP_RESPONSE_FORBIDDEN
Client does not have access rights to the content so server is rejecting to give proper response...
static const uint16_t HTTP_RESPONSE_NOT_IMPLEMENTED
The request method is not supported by the server and cannot be handled.
static const uint16_t HTTP_RESPONSE_SERVICE_UNAVAILABLE
The server is not ready to handle the request.
static const char CONTENT_TYPE_TEXT_HTML[]
static const uint8_t HTTP_METHOD_MKCOL
static const char CONTENT_TYPE_APPLICATION_JSON[]