cURL / Mailing Lists / curl-library / Single Mail


Basic authentication with curl-7.15.1

From: Rathi, Dinesh <>
Date: Tue, 14 Mar 2006 14:44:13 +0530


            I am using libcurl 7.15.1 on windows and linux 64 and having
some problem with basic authentication, sometime it goes fine and
sometimes it gives 401 errors. I am sending a post request and not
setting the authentication detail with first request, if I get 401
response code then only I set username/ password. I use the same curl
handle for both calls. Sometimes it works and sometime it does not, any
clue what could be wrong?



Received on 2006-03-14