Configuring HTTP Headers

When a facade operation request is passed to TIBCO API Exchange Gateway in a proxy enabled mode, you can copy the headers information from the facade operation incoming request and forward it to the target operation.

Configure the Headers To Forward field to copy the headers of request message as follows:

Procedure

  1. On the ROUTING tab, click Target Operations on the top menu.
  2. Select an existing target operation for the operation request. If the target operation does not exist, add a new target operation for the operation request.
  3. Select Headers to Forward field. Enter the value, as required. See the following values as an example:
    • Enter "*" to forward all the headers.
    • Enter "*,-SoapAction" forwards all the headers except SOAP Action header.
  4. Save changes to the configuration.

    Note: According to HTTP/1.1 RFC, HTTP headers are case-insensitive. The native HTTP channel of API Exchange uses Apache Tomcat which enforces this behavior by converting all headers to lower case. We recommend that application developers must not depend on case sensitive headers in their application logic.