[wp-trac] [WordPress Trac] #17588: fsockopen performs a POST request to a redirected location

WordPress Trac wp-trac at lists.automattic.com
Fri May 27 09:21:19 UTC 2011


#17588: fsockopen performs a POST request to a redirected location
--------------------------+-----------------------------
 Reporter:  dd32          |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  HTTP          |     Version:  3.2
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+-----------------------------

Comment (by nacin):

 Good reads: http://www.alanflavell.org.uk/www/post-redirect.html.

 According to that at least, a 301 should result in a POST to the new URL,
 while it appears a 302/3/7 should result in a GET. That said, it looks
 like browsers make a mess of what *should* occur.

 The article appears quite definitive (if old), but of course, grain of
 salt for things you read on the interwebs.

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


More information about the wp-trac mailing list