HttpCustomHeader (WMI)

This class corresponds to the HttpCustomHeaders property in the metabase which are headers sent to the client, in addition to the default header of the HTML file. If you send a custom header that is already sent by default, the default header is not overwritten. Both values are sent.

IIsStructuredDataClass (WMI)

Methods

The HttpCustomHeader object has no methods.

Properties

The HttpCustomHeader object defines the following properties, in addition to those inherited from IIsStructuredDataClass (WMI).

Property

Data type

Description

Keyname

String

The Keyname property specifies the custom header key, for example, "HTTP_ACCEPT_LANGUAGE" is a header that is sent by default on all responses.

Value

String

The Value property specifies the value for the custom header, for example, "en" states that English is accepted.

Requirements

Server: Requires or Windows Server 2003.

Product: IIS

See Also