[wp-trac] [WordPress Trac] #14348: If it's a HEAD request, stop after the head!

WordPress Trac wp-trac at lists.automattic.com
Mon Aug 20 02:32:01 UTC 2012


#14348: If it's a HEAD request, stop after the head!
--------------------------------------------------+------------------
 Reporter:  mitchoyoshitaka                       |       Owner:
     Type:  enhancement                           |      Status:  new
 Priority:  normal                                |   Milestone:  3.5
Component:  Performance                           |     Version:  3.0
 Severity:  normal                                |  Resolution:
 Keywords:  has-patch 3.5-early needs-unit-tests  |
--------------------------------------------------+------------------

Comment (by mitchoyoshitaka):

 Replying to [comment:44 mbijon]:
 > Just talked to @_mfields about this at #wcpdx and we think
 attachment:14348-5.diff will work. Using {{{wp_remote_head()}}} in the
 unit test should mean that simpler code is enough.

 Wonderful!

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


More information about the wp-trac mailing list