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 <sandeep.d...@gmail.com>
wrote:

> 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 achieve this?
> The  AynscHttpFetchStreaming example does similar to what I want but it
> does not address the headers while sending the request out.
>
> Sandeep.
>

Reply via email to