curl-users
Re: MIME headers
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 2 Feb 2004 10:05:30 +0100 (CET)
Date: Mon, 2 Feb 2004 10:05:30 +0100 (CET)
On Fri, 30 Jan 2004, Kristopher Spencer-Yates wrote:
> Just an update: cURL is sending its own headers, which are not what I
> defined in $mime_headers.
>
> $mime_headers is like so:
>
> <? $mime_headers="POST /AUTHORIZE HTTP/1.0\nMIME-Version:
> 1.0\nContent-type: application/X1"; ?>
>
> ..and so on..
I don't understand how the command line looks like that you're trying to use.
Can you show us the full command line, as it looks when the variables are
expanded ?
> cURL just ignores my -H and does whatever it does by default.
I noticed there was no test case verifying this functionality, so I just added
test case 97 that does pretty much exactly what you're asking for here and it
worked just as expected for me.
-- 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/osdnReceived on 2004-02-02