[Httpunit-commit] CVS: httpunit/src/com/meterware/servletunit ServletUnitHttpResponse.java,1.16,1.17
Brought to you by:
russgold
|
From: Russell G. <rus...@us...> - 2003-02-06 02:55:35
|
Update of /cvsroot/httpunit/httpunit/src/com/meterware/servletunit
In directory sc8-pr-cvs1:/tmp/cvs-serv23455/src/com/meterware/servletunit
Modified Files:
ServletUnitHttpResponse.java
Log Message:
Corrected status from sendRedirect
Index: ServletUnitHttpResponse.java
===================================================================
RCS file: /cvsroot/httpunit/httpunit/src/com/meterware/servletunit/ServletUnitHttpResponse.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- ServletUnitHttpResponse.java 6 Feb 2003 01:33:11 -0000 1.16
+++ ServletUnitHttpResponse.java 6 Feb 2003 02:55:32 -0000 1.17
@@ -118,7 +118,7 @@
* Relative URLs are not permitted here.
*/
public void sendRedirect( String location ) throws IOException {
- setStatus( HttpServletResponse.SC_MOVED_PERMANENTLY );
+ setStatus( HttpServletResponse.SC_MOVED_TEMPORARILY );
setHeader( "Location", location );
}
|