- Timestamp:
- 06/30/2012 07:35:39 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-testcase/test_http.php
r714 r753 144 144 145 145 function test_file_stream() { 146 $url = 'http://unit-tests.svn.wordpress.org/ wp-testdata/images/2004-07-22-DSC_0007.jpg'; // we'll test against a file in the unit test data146 $url = 'http://unit-tests.svn.wordpress.org/trunk/wp-testdata/images/2004-07-22-DSC_0007.jpg'; // we'll test against a file in the unit test data 147 147 $size = 87348; 148 148 $res = wp_remote_request( $url, array( 'stream' => true, 'timeout' => 30 ) ); //Auto generate the filename.
Note: See TracChangeset
for help on using the changeset viewer.