| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-users Mailing List Archives
Re: cURL doesnt seem to pass multiple headers using multiple -H options
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 2 Feb 2004 22:55:33 +0100 (CET)
On Mon, 2 Feb 2004, Kristopher Spencer-Yates wrote:
> It appears my headers still aren't being received. In fact, I am changing
I think you're somehow not doing it right. I simply can't make this fail when
> /usr/local/bin/curl -0 -X "/AUTHORIZE" -d "<someXML></someXML" -m 120 -H
Why are you using uppercase all over? It makes my head hurt! ;-)
I tried this:
$ cd tests
[ cd'ed into the tests directory ]
$ ./server/sws &
[ started the test WWW server that runs on port 8999 by default]
$ curl localhost:8999/1 -H "test1: yes" -H "test2: yes" -H "Pragma: fake" -H
[ this fetches the data from test case 1, with an additional set of fun -H
$ cat log/server.input
[ this shows a somewhat older version supporting all this that I claim it
> Output from receiver below:
> ACCEPT: IMAGE/GIF, IMAGE/X-XBITMAP, IMAGE/JPEG, IMAGE/PJPEG, */*
Why is the receiver converting everything to uppercase?
> Any ideas on how I should pass multiple headers? What am I missing? Or is
I don't understand how this cannot work for you. It works for me, as above.
--
Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
[[ Do not send mails to this email address. They won't reach me. ]]
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
Received on 2004-02-02
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info