[wp-trac] [WordPress Trac] #11888: The streams & fopen HTTP transport arn't sending headers that are passed to it

WordPress Trac wp-trac at lists.automattic.com
Fri Jan 15 21:37:04 UTC 2010


#11888: The streams & fopen HTTP transport arn't sending headers that are passed to
it
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:                         
     Type:  defect (bug)       |      Status:  new                    
 Priority:  normal             |   Milestone:  3.0                    
Component:  HTTP               |     Version:  2.9.1                  
 Severity:  normal             |    Keywords:  has-patch needs-testing
-------------------------------+--------------------------------------------

Comment(by dd32):

 I'd be tempted to disable Streams entirely when custom headers are
 included, due to the fact that running phpinfo() all the time isnt the
 best way to check.

 throw a site_transient cache around it too, If ( !empty(headers) &&
 (get_transient.. || WP_HTTP_Streams::has_curl_wrappers() ) ) return false

 But from what i can see, Reports are thjat the bug should only occur when
 passing a string, an array should be fine. Thats the reason i'm wanting to
 test it out for myself.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11888#comment:32>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list