cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Libcurl POST XML file URGENT help

From: Addanki Venkat <venkat_at_wideareasystems.com>
Date: Wed, 13 Aug 2008 12:09:36 -0400

problem was using CURLAUTH_DIGEST. No authentication required while posting.
But data in the post carry login information.

Thank you.

-----Original Message-----
From: curl-library-bounces_at_cool.haxx.se
[mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of Daniel Stenberg
Sent: Wednesday, August 13, 2008 03:42
To: libcurl development
Subject: Re: Libcurl POST XML file URGENT help

On Tue, 12 Aug 2008, Addanki Venkat wrote:

What libcurl version on what platform?

> When I look at ethereal trace I don't see any data only header will be
> there, I tried with sample string as length 500 considered as big. Still
it
> has same problem. I am not able to send even single character as data
along
> with HTTP1.1 POST.

You don't need ethereal (which is called wireshark these days) to look at
what
libcurl sends, use CURLOPT_DEBUGFUNCTION for that!

> curl_easy_setopt(m_pCURL, CURLOPT_HTTPAUTH, CURLAUTH_DIGEST);

Digest is a challenge+response style of authentication, so the initial POST
is
expected to not send any data as the server won't accept it anyway.

-- 
  / daniel.haxx.se
Received on 2008-08-13