[wp-trac] [WordPress Trac] #16888: WP HTTP Curl transport is only handling some but not all redirect status codes.

WordPress Trac wp-trac at lists.automattic.com
Fri Mar 18 19:07:49 UTC 2011


#16888: WP HTTP Curl transport is only handling some but not all redirect status
codes.
--------------------------+------------------------------
 Reporter:  hakre         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------

Comment (by sivel):

 Not all 3xx codes indicate a redirection.  For example 304 is a not
 modified and has nothing to do with redirection.  Returning a WP_Error on
 a 304 would be incorrect behavior, as someone may be expecting to get
 additional information when a 304 is received.

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


More information about the wp-trac mailing list