Hi,

In http.c:3739, we club 3 different error types in one.

1. The Server did not send a nonce / realm / uri attribute in the
WWW-Authenticate Header. This should exit as a Protocol Error, Status 7
2. Wget was not invoked with a Username / Password. Authorization Error,
Status 6.
3. We do not understand the qop / algorithm value sent by the server.
General Error, Status 1.

I think we should split these errors and exit Wget with the correct status
codes. It would be wrong to inform the end-user that there was a
username/password authentication error when in reality the issue was caused
by, say, the Server sending an incorrect header.

If there is consensus on fixing this, I'll try and hack a patch soon.

-- 
Thanking You,
Darshit Shah

Reply via email to