On modifying a response, depending on your actual use case, perhaps you can consider ESI - http://www.w3.org/TR/esi-lang ATS has an experimental plugin for it - https://github.com/apache/trafficserver/tree/master/plugins/experimental/esi
On Fri, Mar 8, 2013 at 5:36 PM, Leif Hedstrom <[email protected]> wrote: > On 3/8/13 6:28 PM, Brian Geffon wrote: > >> I do not think this is a good idea, if you're really looking to write >> code in Java I would suggest maybe using Netty and writing a simple proxy >> that way as opposed to using trafficserver. Alternatively, you could take >> advantage of remapping to just rewrite the url to a special endpoint that >> will fetch the original content and return a modified response to >> trafficserver. >> > > > This is what people use the ICAP protocol for: http://www.ietf.org/rfc/** > rfc3507.txt <http://www.ietf.org/rfc/rfc3507.txt> > > -- Leif > >
