hdr

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

<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

Usage: 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

Parent topic: [validate-headers] stanza