[Webkit-unassigned] [Bug 118849] [Curl] Http response code 401 (Authentication required) is not handled.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 3 11:42:03 PST 2014


--- Comment #11 from peavo at outlook.com  2014-01-03 11:39:52 PST ---
(In reply to comment #10)
> In this patch,when given username and password was wrong,Will webkit or curl  resend the request?
> And Does WebCore resend the request ?  or client? or Curl automatic?

When given username or password is incorrect, I believe we will receive another 401 response, and give the user another chance to provide credentials.
If new credentials are provided, we will give the user/password to curl by calling  curl_easy_setopt(curlHandle, CURLOPT_USERPWD, usernameAndPassword).
AFAIK this will make curl resend the request automatically.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list