[wp-trac] [WordPress Trac] #16889: Having a location header does not mean that there should be a redirection.

WordPress Trac noreply at wordpress.org
Mon Mar 4 06:19:33 UTC 2013


#16889: Having a location header does not mean that there should be a redirection.
--------------------+------------------------------
 Reporter:  hakre   |       Owner:
     Type:  defect  |      Status:  reopened
 Priority:  normal  |   Milestone:  Awaiting Review
Component:  HTTP    |     Version:  3.1
 Severity:  normal  |  Resolution:
 Keywords:          |
--------------------+------------------------------

Comment (by dd32):

 In [changeset:"1231/tests"]:
 {{{
 #!CommitTicketReference repository="tests" revision="1231"
 Rename the WP_HTTP testcase 'test_location_header_on_200' to
 'test_location_header_on_201' and modify test / test script accordingly,
 PHP doesn't allow us to issue a Location with a 200 response, and the
 ticket it refers to is specifically about 201 responses.
 See #16889
 }}}

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


More information about the wp-trac mailing list