cURL / Mailing Lists / curl-library / Single Mail


Re: Authentication procedure

From: Daniel Stenberg <>
Date: Tue, 7 Jan 2014 09:12:20 +0100 (CET)

On Tue, 7 Jan 2014, Shao, Shuchao wrote:

> Libcurl send the authentication data with the first GET request, it is not
> like the IE, firefox etc. IE (firefox etc.) send the authentication data
> after receiving the 407/401 response code.

Only if you explictitly tell it to. You can OR the CURLAUTH_ONLY value to the
auth type and you'll get libcurl to send a first request with authentication.

List admin:
Received on 2014-01-07