cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Getting multiple Host: headers

From: Brian Akins <bakins_at_web.turner.com>
Date: Mon, 26 Jul 2004 08:48:19 -0400

Daniel Stenberg wrote:

> On Fri, 23 Jul 2004, Brian Akins wrote:
>
>> Sure. See attached. It's a modified getmemory from examples.
>
>
> Can you check if this patch makes it work for you?
>
>
Now it's sending this:

GET /euro?this=that HTTP/1.1
cnnsquid6
Pragma: no-cache
Accept: */*
Host: cnnsquid6
User-Agent: Mozilla Something

Notice the hostname namked before the headers.

-- 
Brian Akins
Senior Systems Engineer
CNN Internet Technologies
Received on 2004-07-26