cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Authentication procedure

From: Daniel Stenberg <daniel_at_haxx.se>
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.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-01-07