> On Feb 11, 2015, at 11:35 AM, Sandeep Davu <sandeep.d...@gmail.com> wrote:
> 
> How to send chunked data on Server Intercept Plugin? The content length is
> not known before hand. Idea is to stream data as it becomes available.  I
> am assuming the intercept send data needs to know that the data is chunked.

The server intercept writes a raw byte stream, so you can do whatever you want. 
If you want to write a chinked response, just write it as if your plugin was a 
real HTTP server (which, effectively, it is). Take a look at 
example/intercept/intercept.cc.

J

Reply via email to