hdr

Use the hdr stanza entry to define the header to be validated on each request.

Syntax

<hdr> = <value>

Description

Use this stanza entry to specify the header to be validated on each request. For example, to ensure that all requests are for www.ibm.com, set:

host = www.ibm.com

Multiple headers can be configured by specifying multiple stanza entries.

Options

<hdr>
Name of the header.
<value>
Value of the header.

Usage

This stanza entry is optional. If multiple headers of the same name are configured, the corresponding header in the request must match one of the configured values.

Default value

None.

Example

host = www.ibm.com