Haxx ad

curl's project page on


cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: Question about CURLOPT_HTTPAUTH

From: Daniel Stenberg <>
Date: Tue, 29 Jul 2003 00:58:01 +0200 (CEST)

On Tue, 28 Jul 2003, James Gallagher wrote:

> > What headers do you get back in the first response?
> Here's the first response, where HTTPAUTH is set to
> * About to connect() to
> * Connected to ( port 80
> > GET /secure-3.4/nph-dods/version HTTP/1.1
> Host:
> Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
> Accept-Encoding: deflate
> User-Agent: DODS DAP++/3.4.0
> Accept-Encoding: deflate
> * The requested URL returned error: 401
> * Connection #0 left intact
> The requested URL returned error: 401
> * Closing connection #0

Ah, are you by any change setting CURLOPT_FAILONERROR to TRUE on this

It seems libcurl doesn't like that in combination with some of these new
authentication uses. I'll need to reconsider how that check should be done to
work better...

Switch off the CURLOPT_FAILONERROR and it might work better. :-)

 Daniel Stenberg -- curl: been grokking URLs since 1998
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.;at.aspnet_072303_01/01
Received on 2003-07-29

These mail archives are generated by hypermail.

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

File upload with ASP.NET