Sounds like maybe you want an intercept plugin: https://docs.trafficserver.apache.org/en/8.0.x/developer-guide/plugins/hooks-and-transactions/intercepting-http-transactions.en.html <https://docs.trafficserver.apache.org/en/8.0.x/developer-guide/plugins/hooks-and-transactions/intercepting-http-transactions.en.html?highlight=intercept>