cURL / Mailing Lists / curl-library / Single Mail

curl-library

Documentation Bug (CURLOPT_USERPASSWORD)

From: Mike Henshaw <mhenshaw_at_adcomtechnologies.com>
Date: Thu, 17 Feb 2011 14:31:56 -0600

Is:

CURLOPT_HTTPAUTH

Pass a long as parameter, which is set to a bitmask, to tell libcurl which authentication method(s) you want it to use. The available bits are listed below. If more than one bit is set, libcurl will first query the site to see which authentication methods it supports and then pick the best one you allow it to use. For some methods, this will induce an extra network round-trip. Set the actual name and password with the CURLOPT_USERPWD option or with the CURLOPT_USERNAME and the CURLOPT_USERPASSWORD options. (Added in 7.10.6)

Should be:

CURLOPT_HTTPAUTH

Pass a long as parameter, which is set to a bitmask, to tell libcurl which authentication method(s) you want it to use. The available bits are listed below. If more than one bit is set, libcurl will first query the site to see which authentication methods it supports and then pick the best one you allow it to use. For some methods, this will induce an extra network round-trip. Set the actual name and password with the CURLOPT_USERPWD option or with the CURLOPT_USERNAME and the CURLOPT_PASSWORD options. (Added in 7.10.6)

Michael Henshaw

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-02-17