Changeset 13484
- Timestamp:
- 02/28/2010 04:24:04 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-http.php
r13448 r13484 1210 1210 if ( $proxy->use_authentication() ) { 1211 1211 $options['proxyauth'] = $proxy->authentication(); 1212 $options['proxyauthtype'] = HTTP_AUTH_ BASIC;1212 $options['proxyauthtype'] = HTTP_AUTH_ANY; 1213 1213 } 1214 1214 } … … 1321 1321 if ( $proxy->use_authentication() ) { 1322 1322 if ( $isPHP5 ) 1323 curl_setopt( $handle, CURLOPT_PROXYAUTH, CURLAUTH_ BASIC);1323 curl_setopt( $handle, CURLOPT_PROXYAUTH, CURLAUTH_ANY ); 1324 1324 1325 1325 curl_setopt( $handle, CURLOPT_PROXYUSERPWD, $proxy->authentication() ); … … 1464 1464 * enable proxy support. There are also a few filters that plugins can hook into for some of the 1465 1465 * constants. 1466 * 1467 * Please note that only BASIC authentication is supportted by most transports. 1468 * cURL and the PHP HTTP Extension MAY support more methods(such as NTLM Authentication) depending on your environment. 1466 1469 * 1467 1470 * The constants are as follows:
Note: See TracChangeset
for help on using the changeset viewer.