[wp-trac] [WordPress Trac] #16236: Method to stream file downloads in HTTP API, to reduce update memory footprint
WordPress Trac
wp-trac at lists.automattic.com
Tue Mar 1 00:25:08 UTC 2011
#16236: Method to stream file downloads in HTTP API, to reduce update memory
footprint
---------------------------------+-----------------------------
Reporter: markjaquith | Owner: sivel
Type: task (blessed) | Status: accepted
Priority: normal | Milestone: Future Release
Component: HTTP | Version:
Severity: normal | Resolution:
Keywords: 3.2-early has-patch |
---------------------------------+-----------------------------
Comment (by dd32):
we have a few other download-to-file functions such as
[http://core.trac.wordpress.org/browser/trunk/wp-
includes/functions.php#L1261 wp_get_http()] I'd like to deprecate all the
various wrappers and merge it into the HTTP API functions instead.
ie. Instead of calling download_url(), call
`wp_remote_get(..stream=path);`
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16236#comment:25>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list