Skip to content

ECA Helper: Set headers

Plugin ID: eca_helper_header_set

Action set headers value for response.

Fields

Headers — config key: headers

The headers to set. If you can also use YAML syntax by enabling it below.
This field supports tokens.

Type: textarea · Required: yes · Default: empty string

Interpret above value as YAML format — config key: use_yaml

Nested data can be set using YAML format, for example Content-Type: "text/html; charset=UTF-8". When using this format, this option needs to be enabled. When using tokens and YAML altogether, make sure that tokens are wrapped as a string. Example: Content-Type: "[content_type]"

Type: checkbox · Required: no · Default: false