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

WordPress Trac wp-trac at lists.automattic.com
Thu Aug 16 07:22:48 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 2nd-opinion  |
---------------------------------------------+------------------

Comment (by kurtpayne):

 The code is split up like that because the unit test has no other way to
 trigger a "die early" request.  Keep in mind that there is no way to fire
 a complete HTTP request in he unit tests.  Th run on the command line.  No
 web server involved.

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


More information about the wp-trac mailing list