cURL / Mailing Lists / curl-library / Single Mail


Authentication credentials ignored after second incorrect request

From: abc def <>
Date: Mon, 11 Jul 2011 18:49:11 -0700

Hi all,
I am new to using curl. I am implementing digest authentication on a server
and would like to test the server by sending curl POST requests to it. I am
using the wrong user:password on purpose for testing. The first request is
correctly challenged with a 401 + Authenticate header. The challenge
response correctly consists of the Authorization header. As the password
supplied is wrong, I send a 401 + Authenticate header again. This results
in an "Authentication problem. ignoring..."
I want to know if the simulated client(curl) is written to behave this way
or if Im doing something wrong. I am of the opinion that is should have
responded with the authorization header again.


List admin:
Received on 2011-07-12