Contact Free trial Login

To Configure Headers

In the HTTP Listener, you can configure a verbose form of the response HTTP headers and status code. You configure two properties:

  • outboundHeadersMapName

    Supports sending custom headers with the response.

  • httpStatusVarName

    Supports sending a custom HTTP status code in the response.

Adding a Header to a Response

Put the header you want to add inside the outboundHeaders map, as shown in the following example:

    <ee:set-variable name="outboundHeaders">
        variables.outboundHeaders ++{headerName:"value"}

We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used and to tailor advertising. You can read more and make your cookie choices here. By continuing to use this site you are giving us your consent to do this.