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

WordPress Trac noreply at wordpress.org
Tue Jan 1 01:37:17 UTC 2013


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

Comment (by dd32):

 > I almost fell asleep reading that article
 Welcome to the world of Specifications.

 Seeing what "modern" browsers do with this spec would be interesting, as
 the article mentioned above is of 2000~2005 vintage. That being said, if
 someone is using WP_HTTP for interaction with a RESTful API, then we'd
 want to honor the spec correctly (ignoring the verification stuff)

 > but what I gathered was that 302/303 should redirect to GET (but we'll
 ignore verification with user for 302) and 307 should continue as a POST
 (but we'll ignore verification with user)

 Thats what I gathered.

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


More information about the wp-trac mailing list