cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

RE: Headers and files

From: Roth, Kevin P. <KPRoth_at_MarathonOil.com>
Date: Tue, 24 Jul 2001 12:49:12 -0400

Another difference is the "User-Agent" line. curl --help will show that
you can specify a custom user-agent string (to replace curl's default)
like this:

  curl -A "Poster"

--Kevin

-----Original Message-----
From: Nielsen Linus [mailto:Linus.Nielsen_at_elema.siemens.se]
Sent: Tuesday, July 24, 2001 6:06 AM
To: 'curl_at_contactor.se'
Subject: RE: Headers and files

> Hello Linus,
>
> I admire your sense of humor ;-)

Sorry about that. I tend to answer like that when people
ask general questions like, "how do I do a POST" and the like.
This was obviously not the case here, and i apologize.

About your problem, I can see a major difference between the headers.
the Content Length is almost the double in your first example.
How did you get this data? Your analyzing program must have decoded
the XML data, since it is not in unicode anymore.

Have you tried using another coding format, line UTF-8?
Just change the xml tag in the transaction and see what happens.

/Linus
Received on 2001-07-24

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET