The example I was referring to is here: https://github.com/apache/trafficserver/blob/master/lib/atscppapi/examples/customresponse/CustomResponse.cc
In CustomResponseTransactionPlugin::handleSendResponseHeaders() you can manipulate the response in any other ways you want, in this example it changes there response status code and message (the body was set w/ .error() in the constructor, but like I said you can also set headers or do anything else. Brian On Mon, Mar 14, 2016 at 9:25 AM, Dk Jack <dnj0...@gmail.com> wrote: > ok. I'll give it a try and get back. Thanks. > > > > On Sun, Mar 13, 2016 at 6:22 PM, Brian Geffon <bri...@apache.org> wrote: > > > Take a look at the example, you can set the body, status code, headers, > > basically anything you want. The only reason you might want to use an > > intercept plugin is it you wanted to stream a response. > > > > Brian > > > > On Monday, March 14, 2016, Dk Jack <dnj0...@gmail.com> wrote: > > > > > custom error message plugin doesn't seem to include body. I wanted to > > > include body as well... > > > > > > Bhasker. > > > > > > > > > On Sun, Mar 13, 2016 at 6:01 PM, Brian Geffon <bri...@apache.org > > > <javascript:;>> wrote: > > > > > > > I would suggest looking at the custom error response plugin in the > > > examples > > > > folder, it will give you same result and it's much easier, > > > > > > > > Brian > > > > > > > > On Monday, March 14, 2016, Dk Jack <dnj0...@gmail.com > <javascript:;>> > > > wrote: > > > > > > > > > Hi, > > > > > I am using atscppapi intercept Plugin. Does it still require a > remap > > > rule > > > > > if I am using SERVER_INTERCEPT type. I just want to respond with a > > > custom > > > > > response if I see a specific url. Thanks. > > > > > > > > > > Dk. > > > > > > > > > > > > > > >