[wp-trac] Re: [WordPress Trac] #4183: HTTP Status 302 has wrong text defined for HTTP 1.1

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 24 17:27:10 GMT 2007


#4183: HTTP Status 302 has wrong text defined for HTTP 1.1
-----------------------------------------------+----------------------------
 Reporter:  nberardi                           |        Owner:  rob1n
     Type:  defect                             |       Status:  new  
 Priority:  normal                             |    Milestone:  2.3  
Component:  Administration                     |      Version:  2.2  
 Severity:  minor                              |   Resolution:       
 Keywords:  http, status, code, 302, 303, 307  |  
-----------------------------------------------+----------------------------
Comment (by nberardi):

 Replying to [comment:6 Otto42]:
 > In the future, when 1.0 agents go away, moving to a 307 would make
 sense.

 Actually you probably want to do a "303 See Other" in the future instead
 of a "307 Temporary Redirect".

 Temporary Redirect is only suppose to be used for instances where you need
 to redirect traffic temporarily, say in the case where you are updating
 your website and need to move all the traffic to another page.

 See Other is more used for redirecting to another URL after a post is
 done.  For instance I filled out a user registration form and POSTed the
 values to the server and the server wants to send me back to the home
 page.  That is when you would use the "303 See Other".  This is all
 according to the RFC specification.
 >The response to the request can be found under a different URI and SHOULD
 be retrieved using a GET method on that resource. This method exists
 primarily to allow the output of a POST-activated script to redirect the
 user agent to a selected resource. The new URI is not a substitute
 reference for the originally requested resource. The 303 response MUST NOT
 be cached, but the response to the second (redirected) request might be
 cacheable.

 But I do agree with keeping the 302 the same but changing the text until
 HTTP 1.0 clients disappear.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4183#comment:7>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list