cURL / Mailing Lists / curl-library / Single Mail

curl-library

CURLAUTH_DIGEST example please

From: root <root_at_gw.kuantic.com>
Date: Sat, 24 Jan 2004 17:03:08 +0100

Hi there.

After having located a conditional compilation bug in PHP-5.0.0B3 that
forbids to use Digest Authentification with cUrl, I'm now looking for
some code that makes a query to a server using this authentification
method (in C or any other language)

At the moment, as soon as I try to use CURLAUTH_DIGEST, my POST is
empty, I just have some headers sent (without any authentification
information BTW). If I use CURLAUTH_BASIC, I see normal trafic.

So I must miss something, probably my sequence of curl_easy_setopt is
no good or there is something totally undocumented to do at some
time...

Since I'm trying to use curl from PEAR::Soap, the problem may also
come from the interface code between the two, and so a C example would
help me to figure where the problem really is. If I get that right,
I'll try to have PEAR::Soap to use cUrl for HTTP queries (at the
moment it is used only for HTTPS).

Thanks!

 Bernard

-------------------------------------------------------
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/osdn
Received on 2004-01-28