change to use a 301 for redirects.
Marcus Ramberg [Thu, 2 Mar 2006 15:33:05 +0000 (15:33 +0000)]
Changes
lib/Catalyst/Response.pm

diff --git a/Changes b/Changes
index e60b2ee..4c0e4a9 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,6 +1,7 @@
 This file documents the revision history for Perl extension Catalyst.
 
 5.66
+       - Change redirect to use a 301, not a 302
         - Added Root controller concept
         - Updated ConfigLoader plugin to version 0.04
 
index 8aa9b22..8d3d880 100644 (file)
@@ -110,7 +110,7 @@ sub redirect {
 
     if (@_) {
         my $location = shift;
-        my $status   = shift || 302;
+        my $status   = shift || 301;
 
         $self->location($location);
         $self->status($status);