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
