HTTP_KNOWN_HEADER structure (http.h)
The HTTP_KNOWN_HEADER structure contains the header values for a known header from an HTTP request or HTTP response.
Syntax
typedef struct _HTTP_KNOWN_HEADER {
USHORT RawValueLength;
PCSTR pRawValue;
} HTTP_KNOWN_HEADER, *PHTTP_KNOWN_HEADER;
Members
RawValueLength
Size, in bytes, of the 8-bit string pointed to by the pRawValue member, not counting a terminating null character, if present. If RawValueLength is zero, then the value of the pRawValue element is meaningless.
pRawValue
Pointer to the text of this HTTP header. Use RawValueLength to determine where this text ends rather than relying on the string to have a terminating null. The format of the header text is specified in RFC 2616.
Remarks
In the HTTP Server API, known headers are defined as those that are enumerated in the HTTP_HEADER_ID enumeration type. Be aware that there are different lists of different sizes for request and response headers.
For more information about the structure and usage of HTTP headers, see the RFC 2616.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista, Windows XP with SP2 [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | http.h |