Layer7 API Management

Expand all | Collapse all

Why Return Template Response to Requestor assertion is not adding headers added in Message Completed Policy

  • 1.  Why Return Template Response to Requestor assertion is not adding headers added in Message Completed Policy

    Posted Aug 08, 2017 11:38 AM

    Why Return Template Response to Requestor assertion is not adding headers added in Message Completed Policy, if "Send Response Immediately" is checked. I want to add some custom headers for all success and failure scenarios.



  • 2.  Re: Why Return Template Response to Requestor assertion is not adding headers added in Message Completed Policy
    Best Answer

    Broadcom Employee
    Posted Aug 08, 2017 02:02 PM

    Hi Gupta,

     

    It is currently operating as designed. If the send immediately box is checked on the return template assertion it will ignore any headers. We do have a feature request opened to have this added to a future release.

     

    Regards,

    Joe



  • 3.  Re: Why Return Template Response to Requestor assertion is not adding headers added in Message Completed Policy

    Posted Aug 21, 2017 04:49 AM

    Hi,

     

    There is solution to this , in case if you want to add more header while sending request or response but this is not dynamic, it will be constant across all the response. Refer below base article from CA.

     

    How to change the Server Header from "Apache-Coyote/1.1" with the CA API Management Gateway. 

     

    Thanks,

    Grajesh