[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
Tue Jun 8 00:18:58 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.1                    
Component:  HTTP               |     Version:  2.9.1                  
 Severity:  normal             |    Keywords:  has-patch needs-testing
-------------------------------+--------------------------------------------

Comment(by jacobsantos):

 Clarifications:

 * WP_Http_Fopen is for PHP4 only, PHP5 must be using WP_Http_Streams
 instead.
 * On PHP4 fopen does not support sending any data besides the default PHP
 ones. It is good for reading requests, but not good for writing requests.
 It is currently the only Transport that isn't part of the POST transports.
 This is for a reason. With support for PHP4 required and therefore fopen
 with it (for when cURL and HTTP extension aren't install and fsockopen is
 diabled).
 * I wonder if switching to sockets instead of streams would solve this
 problem if so, then the #9072 be the solution for Streams.

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


More information about the wp-trac mailing list