[wp-trac] [WordPress Trac] #33241: wp_get_http should stream directly to the file

WordPress Trac noreply at wordpress.org
Mon Aug 3 12:38:44 UTC 2015

#33241: wp_get_http should stream directly to the file
 Reporter:  rmccue       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  HTTP API     |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:

Comment (by rmccue):


 * The function calls `set_time_limit` (#21521)
 * The function manually handles redirection for HEAD requests, noting
 "WP_HTTP no longer follows redirects for HEAD requests", but that's not
 actually true. WP_Http simply changes the *default* to 0 for HEAD
 requests, but the `redirection` setting still applies. (I suspect this was
 changed, but `wp_get_http` wasn't kept up-to-date)

Ticket URL: <https://core.trac.wordpress.org/ticket/33241#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list