Status code in response body transform


#1

Tyk will by default run the response transform regardless of the status code of the response. I would like to be able to transform the response depending on what status code is returned… Something like:

{{if eq ._tyk_context.response_code 204}}
<ResponseCode>0</ResponseCode>
{{else}}
<ResponseCode>1</ResponseCode>
{{end}}