[wp-trac] Re: [WordPress Trac] #4779: Proposal for HTTP POST and REQUEST API

WordPress Trac wp-trac at lists.automattic.com
Sun Aug 3 02:40:09 GMT 2008


#4779: Proposal for HTTP POST and REQUEST API
-------------------------------------------+--------------------------------
 Reporter:  darkdragon                     |        Owner:  jacobsantos
     Type:  enhancement                    |       Status:  new        
 Priority:  normal                         |    Milestone:  2.7        
Component:  Optimization                   |      Version:             
 Severity:  normal                         |   Resolution:             
 Keywords:  has-patch tested dev-feedback  |  
-------------------------------------------+--------------------------------
Comment (by jacobsantos):

 Replying to [comment:74 ryan]:
 > See #7456.  How's that patch look?

 [[BR]]

 Looks good. I've been meaning to add better error handling to the other
 classes. I'm not sure, but I'm thinking the stored static should store the
 classes that are tested to work and then loop through attempting to
 connect. Breaking the loop when an array is passed.

 It would be slower to a degree, depending on if the first class succeeds.
 It might also cause a sudden bug where the cron is run at most three
 times. It should always work, so I'm thinking it would be a good idea to
 ensure that the connection is always established and the caller gets the
 available information.

 There will be overhead doing it that way.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4779#comment:75>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list