Modify Incoming Request Header
Modify, add, remove, or pass along specific request headers coming upstream from the client.
Why you need it
Use this behavior to decide how selected request headers coming upstream from the client should be processed. For example, you can add headers such as Accept-Encoding
or Accept-Language
if they are required by the back-end services. By controlling the content of your headers you can further customize your website visitor's experience and gain insight into how it's used.
How it works
When enabled, this behavior modifies the specified incoming request header according to set rules.
Features and options
Field | What it does | Sub-options |
---|---|---|
Action | Specifies the action to perform on the header. |
|
Select Header Name | Selects from standard pre-defined headers to modify. | With Action set to Add, Modify or Pass.
With Action set to Remove.
|
Header Value | With Action set to Add, enter your HTTP header value. Variable Support: This option supports variable expression syntax. Typing {{ in the option field triggers variable auto complete. Learn more about variable support. | |
Custom Header Name | With Select Header Name set to Other..., enter a custom HTTP header name. Variable Support: This option supports variable expression syntax. Typing {{ in the option field triggers variable auto complete. Learn more about variable support. | |
New Header Value | With Action set to Modify, enter your new HTTP header value. Variable Support: This option supports variable expression syntax. Typing {{ in the option field triggers variable auto complete. Learn more about variable support. | |
Avoid Duplicate Headers | With Action set to Modify, prevents multiple headers with the same name from being created. |
Updated about 3 years ago