patrickl    2002/08/13 13:44:14

  Modified:    coyote/src/java/org/apache/coyote/tomcat5
                        CoyoteResponse.java
  Log:
  Use SC_FOUND instead of SC_MOVED_TEMPORARILY in accordance with section 15.1.5 of 
the Servlet 2.4 specification
  
  Revision  Changes    Path
  1.4       +5 -5      
jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat5/CoyoteResponse.java
  
  Index: CoyoteResponse.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat5/CoyoteResponse.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- CoyoteResponse.java       9 Aug 2002 16:23:25 -0000       1.3
  +++ CoyoteResponse.java       13 Aug 2002 20:44:13 -0000      1.4
  @@ -1120,7 +1120,7 @@
           // Generate a temporary redirect to the specified location
           try {
               String absolute = toAbsolute(location);
  -            setStatus(SC_MOVED_TEMPORARILY);
  +            setStatus(SC_FOUND);
               setHeader("Location", absolute);
           } catch (IllegalArgumentException e) {
               setStatus(SC_NOT_FOUND);
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to