Re: Adding headers to C++ api AsyncHttpFetch Streaming request.

2015-02-27 Thread Sandeep Davu
Thanks Brian. Sandeep. On Thu, Feb 26, 2015 at 6:45 PM, Brian Geffon wrote: > Take a look at line 91 in the following example: > > https://git1-us-west.apache.org/repos/asf?p=trafficserver.git;a=blob;f=lib/atscppapi/examples/async_http_fetch/AsyncHttpFetch.cc > > Brian > > On Thu, Feb 26, 2015

Re: Adding headers to C++ api AsyncHttpFetch Streaming request.

2015-02-26 Thread Brian Geffon
Take a look at line 91 in the following example: https://git1-us-west.apache.org/repos/asf?p=trafficserver.git;a=blob;f=lib/atscppapi/examples/async_http_fetch/AsyncHttpFetch.cc Brian On Thu, Feb 26, 2015 at 4:43 PM, Sandeep Davu wrote: > Hi, > > How do you add headers to a request you want to

Adding headers to C++ api AsyncHttpFetch Streaming request.

2015-02-26 Thread Sandeep Davu
Hi, How do you add headers to a request you want to send out using AsyncHttpFetch. Should the url_str that we pass to AsyncHttpFetch contain the headers too? I have a server intercept and wanted to issue a AyncRequest but copy all the headers from the incoming request. Whats the best way to achie