change to use a 301 for redirects.
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Response.pm
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);