mirror of
https://github.com/curl/curl.git
synced 2026-08-25 16:13:32 +03:00
- Igor Novoseltsev added CURLOPT_PROXYUSER and CURLOPT_PROXYPASSWORD that then
make CURLOPT_PROXYUSERPWD sort of deprecated. The primary motive for adding these new options is that they have no problems with the colon separator that the CURLOPT_PROXYUSERPWD option does.
This commit is contained in:
parent
f720e0ac0f
commit
a9a4300a36
8 changed files with 99 additions and 47 deletions
|
|
@ -1322,7 +1322,6 @@ enum dupstring {
|
|||
$HOME/.netrc */
|
||||
STRING_COPYPOSTFIELDS, /* if POST, set the fields' values here */
|
||||
STRING_PROXY, /* proxy to use */
|
||||
STRING_PROXYUSERPWD, /* Proxy <user:password>, if used */
|
||||
STRING_SET_RANGE, /* range, if used */
|
||||
STRING_SET_REFERER, /* custom string for the HTTP referer field */
|
||||
STRING_SET_URL, /* what original URL to work on */
|
||||
|
|
@ -1339,6 +1338,8 @@ enum dupstring {
|
|||
STRING_SSL_ISSUERCERT, /* issuer cert file to check certificate */
|
||||
STRING_USERNAME, /* <username>, if used */
|
||||
STRING_PASSWORD, /* <password>, if used */
|
||||
STRING_PROXYUSERNAME, /* Proxy <username>, if used */
|
||||
STRING_PROXYPASSWORD, /* Proxy <password>, if used */
|
||||
|
||||
/* -- end of strings -- */
|
||||
STRING_LAST /* not used, just an end-of-list marker */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue