[wp-trac] Re: [WordPress Trac] #4779: Proposal for HTTP POST and
	REQUEST API
    WordPress Trac 
    wp-trac at lists.automattic.com
       
    Mon Aug  4 12:49:03 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:87 DD32]:
 > > discover_pingback_server_uri()
 >
 > that really is a ugly function..
 >
 > a HEAD request can be used to look for X-Pingback headers & workout the
 content-type, however, you're right, theres no way to mearly return the
 first x bytes of the document.. And on top of that, most of the HTTP
 methods are designed to fetch the entire file (Streams, Http Extension,
 curl)
 [[BR]]
 Well, I wanted all of the classes to work to the same for consistency. It
 is impossible to know which class you are going to be using. It is still
 possible to support something like this by cutting the string to that
 size, but it is probably better to look at what the function is trying to
 do and correct it.
-- 
Ticket URL: <http://trac.wordpress.org/ticket/4779#comment:89>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
    
    
More information about the wp-trac
mailing list