Stefen,
You can get the response code in xslt using "dp:response-header('x-dp-response-code')", and then set it in the response using "dp:set-response-header name="'x-dp-response-code'" value="$varFromDPResponseHeader".
------------------------------
Joseph Morgan
------------------------------
Original Message:
Sent: Thu May 09, 2024 03:06 AM
From: Stefen Salvatore
Subject: Reason Phrase in Datapower
Hi @Steve Linn and Community,
I have a query, What if my backend is throwing some status code and reason other than 200OK. From DataPower MPGW it is giving 200ok since the transaction is processed.Is there any way to handle it like i need to pass the same reason phrase and code thru my mpgw.
Without using Proxy HTTP Response option in Advanced.
Any input from you is helpful.
------------------------------
Stefen Salvatore
------------------------------