Changeset 18185
- Timestamp:
- 06/08/2011 12:51:31 AM (15 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/class-http.php (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-http.php
r17925 r18185 77 77 * @param string $url URI resource. 78 78 * @param str|array $args Optional. Override the defaults. 79 * @return array|object Array containing 'headers', 'body', 'response', 'cookies' . A WP_Error instance upon error79 * @return array|object Array containing 'headers', 'body', 'response', 'cookies', 'filename'. A WP_Error instance upon error 80 80 */ 81 81 function request( $url, $args = array() ) { … … 239 239 * @param string $url URL to Request 240 240 * @param array $args Request arguments 241 * @return array|object Array containing 'headers', 'body', 'response', 'cookies' . A WP_Error instance upon error241 * @return array|object Array containing 'headers', 'body', 'response', 'cookies', 'filename'. A WP_Error instance upon error 242 242 */ 243 243 private function _dispatch_request( $url, $args ) { … … 272 272 * @param string $url URI resource. 273 273 * @param str|array $args Optional. Override the defaults. 274 * @return array|object Array containing 'headers', 'body', 'response', 'cookies' . A WP_Error instance upon error274 * @return array|object Array containing 'headers', 'body', 'response', 'cookies', 'filename'. A WP_Error instance upon error 275 275 */ 276 276 function post($url, $args = array()) { … … 290 290 * @param string $url URI resource. 291 291 * @param str|array $args Optional. Override the defaults. 292 * @return array|object Array containing 'headers', 'body', 'response', 'cookies' . A WP_Error instance upon error292 * @return array|object Array containing 'headers', 'body', 'response', 'cookies', 'filename'. A WP_Error instance upon error 293 293 */ 294 294 function get($url, $args = array()) { … … 308 308 * @param string $url URI resource. 309 309 * @param str|array $args Optional. Override the defaults. 310 * @return array|object Array containing 'headers', 'body', 'response', 'cookies' . A WP_Error instance upon error310 * @return array|object Array containing 'headers', 'body', 'response', 'cookies', 'filename'. A WP_Error instance upon error 311 311 */ 312 312 function head($url, $args = array()) { … … 562 562 * @param string $url URI resource. 563 563 * @param str|array $args Optional. Override the defaults. 564 * @return array 'headers', 'body', ' cookies' and 'response' keys.564 * @return array 'headers', 'body', 'response', 'cookies' and 'filename' keys. 565 565 */ 566 566 function request($url, $args = array()) { … … 793 793 * @param string $url 794 794 * @param str|array $args Optional. Override the defaults. 795 * @return array 'headers', 'body', ' cookies' and 'response' keys.795 * @return array 'headers', 'body', 'response', 'cookies' and 'filename' keys. 796 796 */ 797 797 function request($url, $args = array()) { … … 983 983 * @param string $url 984 984 * @param str|array $args Optional. Override the defaults. 985 * @return array 'headers', 'body', ' cookies' and 'response' keys.985 * @return array 'headers', 'body', 'response', 'cookies' and 'filename' keys. 986 986 */ 987 987 function request($url, $args = array()) {
Note: See TracChangeset
for help on using the changeset viewer.