Loading...
Searching...
No Matches
Go to the documentation of this file.
21#define HTTP_VERSION "HTTP/1.1"
29#define HTTP_METHOD_OPTIONS "OPTIONS"
30#define HTTP_METHOD_GET "GET"
31#define HTTP_METHOD_HEAD "HEAD"
32#define HTTP_METHOD_POST "POST"
33#define HTTP_METHOD_PUT "PUT"
34#define HTTP_METHOD_DELETE "DELETE"
35#define HTTP_METHOD_TRACE "TRACE"
36#define HTTP_METHOD_CONNECT "CONNECT"
37#define HTTP_METHOD_PATCH "PATCH"
43#define HTTP_METHOD_MAXIMUM_LEN sizeof (HTTP_METHOD_CONNECT)
52#define HTTP_HEADER_ACCEPT "Accept"
61#define HTTP_HEADER_ACCEPT_CHARSET "Accept-Charset"
69#define HTTP_HEADER_ACCEPT_LANGUAGE "Accept-Language"
76#define HTTP_HEADER_ACCEPT_RANGES "Accept-Ranges"
83#define HTTP_HEADER_ACCEPT_ENCODING "Accept-Encoding"
94#define HTTP_HEADER_CONTENT_ENCODING "Content-Encoding"
100#define HTTP_CONTENT_ENCODING_IDENTITY "identity"
101#define HTTP_CONTENT_ENCODING_GZIP "gzip"
102#define HTTP_CONTENT_ENCODING_COMPRESS "compress"
103#define HTTP_CONTENT_ENCODING_DEFLATE "deflate"
112#define HTTP_HEADER_CONTENT_TYPE "Content-Type"
116#define HTTP_CONTENT_TYPE_APP_JSON "application/json"
117#define HTTP_CONTENT_TYPE_APP_OCTET_STREAM "application/octet-stream"
119#define HTTP_CONTENT_TYPE_TEXT_HTML "text/html"
120#define HTTP_CONTENT_TYPE_TEXT_PLAIN "text/plain"
121#define HTTP_CONTENT_TYPE_TEXT_CSS "text/css"
122#define HTTP_CONTENT_TYPE_TEXT_XML "text/xml"
124#define HTTP_CONTENT_TYPE_IMAGE_GIF "image/gif"
125#define HTTP_CONTENT_TYPE_IMAGE_JPEG "image/jpeg"
126#define HTTP_CONTENT_TYPE_IMAGE_PNG "image/png"
127#define HTTP_CONTENT_TYPE_IMAGE_SVG_XML "image/svg+xml"
135#define HTTP_HEADER_CONTENT_LENGTH "Content-Length"
144#define HTTP_HEADER_TRANSFER_ENCODING "Transfer-Encoding"
145#define HTTP_HEADER_TRANSFER_ENCODING_CHUNKED "chunked"
146#define CHUNKED_TRANSFER_CODING_CR '\r'
147#define CHUNKED_TRANSFER_CODING_LF '\n'
148#define CHUNKED_TRANSFER_CODING_LAST_CHUNK '0'
149#define CHUNKED_TRANSFER_CODING_EXTENSION_SEPARATOR ';'
163#define HTTP_HEADER_USER_AGENT "User-Agent"
171#define HTTP_HEADER_HOST "Host"
182#define HTTP_HEADER_LOCATION "Location"
194#define HTTP_HEADER_IF_MATCH "If-Match"
205#define HTTP_HEADER_IF_NONE_MATCH "If-None-Match"
213#define HTTP_HEADER_WWW_AUTHENTICATE "WWW-Authenticate"
221#define HTTP_HEADER_AUTHORIZATION "Authorization"
228#define HTTP_HEADER_ETAG "ETag"
235#define HTTP_HEADER_X_AUTH_TOKEN "X-Auth-Token"
244#define HTTP_HEADER_EXPECT "Expect"
249#define HTTP_EXPECT_100_CONTINUE "100-continue"
256#define HTTP_HEADER_CONTENT_RANGE "Content-Range"
267#define HTTP_HEADER_LAST_MODIFIED "Last-Modified"
277#define HTTP_HEADER_IF_UNMODIFIED_SINCE "If-Unmodified-Since"