Changeset 10087
- Timestamp:
- 12/06/2008 10:09:05 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/http.php
r10072 r10087 981 981 curl_setopt( $handle, CURLOPT_URL, $url); 982 982 983 if ( 'HEAD' === $r['method'] ) { 984 curl_setopt( $handle, CURLOPT_NOBODY, true ); 985 } 986 983 987 if ( true === $r['blocking'] ) { 984 988 curl_setopt( $handle, CURLOPT_HEADER, true ); … … 990 994 } 991 995 992 curl_setopt( $handle, CURLOPT_RETURNTRANSFER, 1 );993 996 curl_setopt( $handle, CURLOPT_USERAGENT, $r['user-agent'] ); 994 997 curl_setopt( $handle, CURLOPT_CONNECTTIMEOUT, 1 );
Note: See TracChangeset
for help on using the changeset viewer.