Changeset 10282
- Timestamp:
- 12/30/2008 10:53:35 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/http.php
r10281 r10282 9 9 * @package WordPress 10 10 * @subpackage HTTP 11 * @since 2.7 11 * @since 2.7.0 12 12 * @author Jacob Santos <wordpress@santosj.name> 13 13 */ … … 42 42 * @package WordPress 43 43 * @subpackage HTTP 44 * @since 2.7 44 * @since 2.7.0 45 45 */ 46 46 class WP_Http { … … 49 49 * PHP4 style Constructor - Calls PHP5 Style Constructor 50 50 * 51 * @since 2.7 51 * @since 2.7.0 52 52 * @return WP_Http 53 53 */ … … 65 65 * the overhead should be fine. 66 66 * 67 * @since 2.7 67 * @since 2.7.0 68 68 * @return WP_Http 69 69 */ … … 91 91 * has failed to respond." 92 92 * 93 * @since 2.7 93 * @since 2.7.0 94 94 * @access private 95 95 * … … 142 142 * is addressed here, by just not including that transport. 143 143 * 144 * @since 2.7 144 * @since 2.7.0 145 145 * @access private 146 146 * … … 217 217 * 218 218 * @access public 219 * @since 2.7 219 * @since 2.7.0 220 220 * 221 221 * @param string $url URI resource. … … 296 296 * 297 297 * @access public 298 * @since 2.7 298 * @since 2.7.0 299 299 * 300 300 * @param string $url URI resource. … … 314 314 * 315 315 * @access public 316 * @since 2.7 316 * @since 2.7.0 317 317 * 318 318 * @param string $url URI resource. … … 332 332 * 333 333 * @access public 334 * @since 2.7 334 * @since 2.7.0 335 335 * 336 336 * @param string $url URI resource. … … 349 349 * @access public 350 350 * @static 351 * @since 2.7 351 * @since 2.7.0 352 352 * 353 353 * @param string $strResponse The full response string … … 368 368 * @access public 369 369 * @static 370 * @since 2.7 370 * @since 2.7.0 371 371 * 372 372 * @param string|array $headers … … 409 409 * @todo Add support for footer chunked headers. 410 410 * @access public 411 * @since 2.7 411 * @since 2.7.0 412 412 * @static 413 413 * … … 450 450 return $body; 451 451 } 452 } while ( false === $done );452 } while ( true === $done ); 453 453 } 454 454 } … … 462 462 * @package WordPress 463 463 * @subpackage HTTP 464 * @since 2.7 464 * @since 2.7.0 465 465 */ 466 466 class WP_Http_Fsockopen { … … 606 606 * Whether this class can be used for retrieving an URL. 607 607 * 608 * @since 2.7 608 * @since 2.7.0 609 609 * @static 610 610 * @return boolean False means this class can not be used, true means it can. … … 630 630 * @package WordPress 631 631 * @subpackage HTTP 632 * @since 2.7 632 * @since 2.7.0 633 633 */ 634 634 class WP_Http_Fopen { … … 644 644 * 645 645 * @access public 646 * @since 2.7 646 * @since 2.7.0 647 647 * 648 648 * @param string $url URI resource. … … 716 716 * Whether this class can be used for retrieving an URL. 717 717 * 718 * @since 2.7.0 718 719 * @static 719 720 * @return boolean False means this class can not be used, true means it can. … … 737 738 * @package WordPress 738 739 * @subpackage HTTP 739 * @since 2.7 740 * @since 2.7.0 740 741 */ 741 742 class WP_Http_Streams { … … 744 745 * 745 746 * @access public 746 * @since 2.7 747 * @since 2.7.0 747 748 * 748 749 * @param string $url … … 840 841 * @static 841 842 * @access public 842 * @since 2.7 843 * @since 2.7.0 843 844 * 844 845 * @return boolean False means this class can not be used, true means it can. … … 865 866 * @package WordPress 866 867 * @subpackage HTTP 867 * @since 2.7 868 * @since 2.7.0 868 869 */ 869 870 class WP_Http_ExtHTTP { … … 955 956 * 956 957 * @static 957 * @since 2.7 958 * @since 2.7.0 958 959 * 959 960 * @return boolean False means this class can not be used, true means it can. … … 981 982 * 982 983 * @access public 983 * @since 2.7 984 * @since 2.7.0 984 985 * 985 986 * @param string $url … … 1082 1083 * 1083 1084 * @static 1084 * @since 2.7 1085 * @since 2.7.0 1085 1086 * 1086 1087 * @return boolean False means this class can not be used, true means it can. … … 1097 1098 * Returns the initialized WP_Http Object 1098 1099 * 1099 * @since 2.7 1100 * @since 2.7.0 1100 1101 * @access private 1101 1102 * … … 1148 1149 * @see wp_remote_request() For more information on the response array format. 1149 1150 * 1150 * @since 2.7 1151 * @since 2.7.0 1151 1152 * 1152 1153 * @param string $url Site URL to retrieve. … … 1165 1166 * @see wp_remote_request() For more information on the response array format. 1166 1167 * 1167 * @since 2.7 1168 * @since 2.7.0 1168 1169 * 1169 1170 * @param string $url Site URL to retrieve. … … 1181 1182 * @see wp_remote_request() For more information on the response array format. 1182 1183 * 1183 * @since 2.7 1184 * @since 2.7.0 1184 1185 * 1185 1186 * @param string $url Site URL to retrieve. … … 1195 1196 * Retrieve only the headers from the raw response. 1196 1197 * 1197 * @since 2.7 1198 * @since 2.7.0 1198 1199 * 1199 1200 * @param array $response HTTP response. … … 1210 1211 * Retrieve a single header by name from the raw response. 1211 1212 * 1212 * @since 2.7 1213 * @since 2.7.0 1213 1214 * 1214 1215 * @param array $response … … 1231 1232 * Will return an empty array if incorrect parameter value is given. 1232 1233 * 1233 * @since 2.7 1234 * @since 2.7.0 1234 1235 * 1235 1236 * @param array $response HTTP response. … … 1248 1249 * Will return an empty array if incorrect parameter value is given. 1249 1250 * 1250 * @since 2.7 1251 * @since 2.7.0 1251 1252 * 1252 1253 * @param array $response HTTP response. … … 1263 1264 * Retrieve only the body from the raw response. 1264 1265 * 1265 * @since 2.7 1266 * @since 2.7.0 1266 1267 * 1267 1268 * @param array $response HTTP response.
Note: See TracChangeset
for help on using the changeset viewer.