cURL / Mailing Lists / curl-library / Single Mail


Re: HTTP return Codes

From: Jeff Pohlmeyer <>
Date: Tue, 3 Apr 2007 16:54:34 -0500

> How would CURL detect an HTTP auth failed with its return codes?
> Right now the connect returns Ok and I am parsing the headers to get
> information. But I was wondering if there was another way.

You might also want to check curl_easy_getinfo with CURLINFO_RESPONSE_CODE.

 - Jeff
Received on 2007-04-04