cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Libcurl POST XML file URGENT help

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 13 Aug 2008 09:42:00 +0200 (CEST)

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