HttpHeaderFields.h
Go to the documentation of this file.
41 XX(CONTENT_DISPOSITION, "Content-Disposition", 0, "Additional information about how to process response payload") \
43 XX(CONTENT_LENGTH, "Content-Length", 0, "Anticipated size for payload when not using transfer encoding") \
45 "Payload media type indicating both data format and intended manner of processing by recipient") \
46 XX(CONTENT_TRANSFER_ENCODING, "Content-Transfer-Encoding", 0, "Coding method used in a MIME message body part") \
47 XX(CACHE_CONTROL, "Cache-Control", 0, "Directives for caches along the request/response chain") \
49 XX(EXPECT, "Expect", 0, "Behaviours to be supported by the server in order to properly handle this request.") \
51 "Validates resource, such as a file, so recipient can confirm whether it has changed - generally more " \
55 "Request host and port information for target URI; allows server to service requests for multiple hosts on a " \
58 "Precondition check using ETag to avoid accidental overwrites when servicing multiple user requests. Ensures " \
61 XX(LAST_MODIFIED, "Last-Modified", 0, "Server timestamp indicating date and time resource was last modified") \
63 XX(SEC_WEBSOCKET_ACCEPT, "Sec-WebSocket-Accept", 0, "Server response to opening Websocket handshake") \
68 "Websocket opening request indicates supported protocol(s), response contains negotiated protocol(s)") \
91 #define XX(tag, str, flags, comment) constexpr HttpHeaderFieldName HTTP_HEADER_##tag = HttpHeaderFieldName::tag;
141 field = static_cast<HttpHeaderFieldName>(unsigned(HTTP_HEADER_CUSTOM) + customFieldNames.count());
std::enable_if< std::is_integral< T >::value, String >::type toString(T value)
Definition: BitSet.h:456
Flag
Flag values providing additional information about header fields.
Definition: HttpHeaderFields.h:103
XX(tag, str, flags, comment)
HttpHeaderFieldName findOrCreate(const String &name)
Find the enumerated value for the given field name string, create a custom entry if not found...
Definition: HttpHeaderFields.h:137
Definition: HttpHeaderFields.h:97
bool fromString(const char *name, IFS::AttributeTag &tag)
Class to manage a double null-terminated list of strings, such as "one\0two\0three\0".
Definition: CStringArray.h:21