Wordpress/tests
Sergey Biryukov 4edda96383 Filesystem API: Allow download_url() to return the response code and body on error as an additional WP_Error object data.
The error response body size is limited to 1 KB by default to avoid taking up too much memory. The size can be increased using `download_url_error_max_body_size` filter.

Props soulseekah, campusboy1987, mihdan, SergeyBiryukov.
Fixes #43329.

git-svn-id: https://develop.svn.wordpress.org/trunk@42773 602fd350-edb4-49c9-b593-d223f7449a82
2018-03-04 17:13:35 +00:00
..
phpunit Filesystem API: Allow download_url() to return the response code and body on error as an additional WP_Error object data. 2018-03-04 17:13:35 +00:00
qunit REST API: Update the fixture data for wp-api.js tests following [42359]. 2018-01-22 06:33:02 +00:00