[interchange-cvs] interchange - jon modified lib/Vend/Dispatch.pm

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Tue Jul 3 01:48:38 EDT 2007


User:      jon
Date:      2007-07-03 05:48:38 GMT
Modified:  lib/Vend Dispatch.pm
Log:
Switch to 301 redirect, which may be better, or may not matter ...

Revision  Changes    Path
1.78      +4 -4      interchange/lib/Vend/Dispatch.pm


rev 1.78, prev_rev 1.77
Index: Dispatch.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Dispatch.pm,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -u -r1.77 -r1.78
--- Dispatch.pm	27 Jun 2007 22:42:36 -0000	1.77
+++ Dispatch.pm	3 Jul 2007 05:48:37 -0000	1.78
@@ -1,6 +1,6 @@
 # Vend::Dispatch - Handle Interchange page requests
 #
-# $Id: Dispatch.pm,v 1.77 2007/06/27 22:42:36 jon Exp $
+# $Id: Dispatch.pm,v 1.78 2007/07/03 05:48:37 jon Exp $
 #
 # Copyright (C) 2002-2006 Interchange Development Group
 # Copyright (C) 2002 Mike Heins <mike at perusion.net>
@@ -26,7 +26,7 @@
 package Vend::Dispatch;
 
 use vars qw($VERSION);
-$VERSION = substr(q$Revision: 1.77 $, 10);
+$VERSION = substr(q$Revision: 1.78 $, 10);
 
 use POSIX qw(strftime);
 use Vend::Util;
@@ -1427,12 +1427,12 @@
 			sort keys %$CGI::values;
 		my $url = vendUrl($path, undef, undef, { form => $form, match_security => 1 });
 		my $msg = get_locale_message(
-			302,
+			301,
 			"Redirected to %s.",
 			$url,
 		);
 		$Vend::StatusLine = <<EOF;
-Status: 302 Moved
+Status: 301 Moved
 Location: $url
 Content-Type: text/plain
 








More information about the interchange-cvs mailing list