tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From patri...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat5 CoyoteResponse.java
Date Tue, 13 Aug 2002 20:44:14 GMT
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:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message