var://local/_extension/donot-rewrite-host

This variable disables the rewriting of the HTTP Host header.

Syntax

Slash notation
var://local/_extension/donot-rewrite-host

Purpose

The var://local/_extension/donot-rewrite-host variable is a write-only variable. When set, this variable disables the rewriting of the HTTP Host header. Set this variable to prevent the rewriting of the Host header on the outbound message of results and fetch actions.

This variable applies only when the action defines a remote source or remote destination. The variable does not apply to the output context.
  • For a fetch, you define the remote source in the GUI with the Source property and in the CLI with the destination command.
  • For a result, you define the remote destination in the GUI with the Destination property and in the CLI with the destination command.

By default, the HTTP Host header is rewritten.