Contact Us 1-800-596-4880

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.

Add a Header to a Response

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

<ee:transform>
    <ee:set-variables>
    <ee:set-variable name="outboundHeaders">
        variables.outboundHeaders ++{headerName:"value"}
    </ee:set-variable>
</ee:set-variables>
</ee:transform>
View on GitHub