HTTP_UNKNOWN_HEADER structure (http.h)

The HTTP_UNKNOWN_HEADER structure contains the name and value for a header in an HTTP request or response whose name does not appear in the enumeration.

Syntax

typedef struct _HTTP_UNKNOWN_HEADER {
  USHORT NameLength;
  USHORT RawValueLength;
  PCSTR  pName;
  PCSTR  pRawValue;
} HTTP_UNKNOWN_HEADER, *PHTTP_UNKNOWN_HEADER;

Members

NameLength

The size, in bytes, of the data pointed to by the pName member not counting a terminating null.

RawValueLength

The size, in bytes, of the data pointed to by the pRawValue member, in bytes.

pName

A pointer to a string of octets that specifies the header name. Use NameLength to determine the end of the string, rather than relying on a terminating null.

pRawValue

A pointer to a string of octets that specifies the values for this header. Use RawValueLength to determine the end of the string, rather than relying on a terminating null.

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

See also

HTTP Server API Version 1.0 Structures

HTTP_HEADER_ID

HTTP_REQUEST_HEADERS

HTTP_RESPONSE_HEADERS