cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: XML request converted to lowercase

From: Steve Yeazel <syeazel_at_frigidfluidco.com>
Date: Fri, 27 Feb 2004 09:52:23 -0600

At 03:33 AM 2/27/2004, you wrote:
>On Thu, 26 Feb 2004, Steve Yeazel wrote:
>
> > If he echo's $xmlRequest it shows up in the browser source as all
> lowercase.
> > This results in the script failing because it checks the XpciVersion to
> make
> > sure it is 1.0001. This behavior is not the same on my server (mine shows
> > properly-cased XML).
>
>I know for sure that curl certainly isn't the one that lowercases anything.
>
>--
> Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
> [[ Do not send mails to this email address. They won't reach me. ]]

I had him send an identical request via the command line:
curl -d @test.xml https://www.ups.com/ups.app/xml/Track

test.xml obviously contained the request and he claims he got a valid
response back. I can't say definitively whether or not he did b/c I wasn't
there but he says he got package progress data back in the response which
means UPS's servers read the xpciversion properly.

could a bad libcurl make have anything to do with it? I've been suggesting
anything I can to him b/c I am totally stumped. what else could be causing
the lowercasing?
Received on 2004-02-27