You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "shukitchan (via GitHub)" <gi...@apache.org> on 2023/05/12 19:45:59 UTC

[GitHub] [trafficserver] shukitchan commented on issue #9704: added tslua script TS_LUA_RESPONSE_TRANSFORM hook ats coredump

shukitchan commented on issue #9704:
URL: https://github.com/apache/trafficserver/issues/9704#issuecomment-1546207038

   What would you like to accomplish? 
   In that case, there is no response body to transform inside an internal redirect. So the transform will fail.
   
   You can add a read response hook inside do_remap. And then you can conditionally add the response transform inside the read response hook handler function. You will only call the response transform handler function when the response status code is status 200. 
   
   Will this work for your use case?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org