cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Pass extra Header

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 6 May 2003 11:14:32 +0200 (CEST)

On Tue, 6 May 2003, Christophe PIN wrote:

> I know how to pass an extra header. But I'd like to pass more than one extra
> header:
> The host "Host: www.mywebsite.com"
> And language: "Accept-language: fr"
>
> Could someone give me the syntax

curl -H "Host: www.mywebsite.com" -H "Accept-language: fr" [URL]

You can add any amount of headers this way.

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-05-06