curl-users
RE: Pass extra Header
From: Christophe PIN <christophe_at_centralweb.fr>
Date: Tue, 6 May 2003 11:11:15 +0200
Date: Tue, 6 May 2003 11:11:15 +0200
Thanks
-----Message d'origine-----
De : curl-users-admin_at_lists.sourceforge.net
[mailto:curl-users-admin_at_lists.sourceforge.net]De la part de Daniel
Stenberg
Envoye : mardi 6 mai 2003 11:15
A : Curl Mailinglist
Objet : Re: Pass extra Header
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 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sfReceived on 2003-05-06