Share via


clear Element for customHeaders for httpProtocol [IIS Settings Schema]

Note

For more information about the clear element, see the following topic on the Microsoft IIS.net Web site: Custom Headers <customHeaders>.

Clears all references to custom headers in the customHeaders collection.

Syntax

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

None.

Child Elements

None.

Parent Elements

Element

Description

configuration

Specifies the root element in every configuration file that is used by IIS 7.

system.webServer

Specifies the top-level section group (in ApplicationHost.config) in which this element is defined.

httpProtocol

Specifies configuration settings for the HTTP protocol on a Web server.

customHeaders

Configures custom response headers that are returned in responses from the Web server.

Remarks

For more information about the clear element, see the following topic on the Microsoft IIS.net Web site: Custom Headers <customHeaders>.

Element Information

Configuration locations

Machine.config

ApplicationHost.config

Root application Web.config

Application Web.config

Directory Web.config

Requirements

Microsoft Internet Information Services (IIS) version 7.0