projects
/
catagits/Catalyst-Runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
e70a5d3
)
change to use a 301 for redirects.
Marcus Ramberg [Thu, 2 Mar 2006 15:33:05 +0000 (15:33 +0000)]
Changes
patch
|
blob
|
blame
|
history
lib/Catalyst/Response.pm
patch
|
blob
|
blame
|
history
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
diff --git
a/lib/Catalyst/Response.pm
b/lib/Catalyst/Response.pm
index
8aa9b22
..
8d3d880
100644
(file)
--- a/
lib/Catalyst/Response.pm
+++ b/
lib/Catalyst/Response.pm
@@
-110,7
+110,7
@@
sub redirect {
if (@_) {
my $location = shift;
- my $status = shift || 302;
+ my $status = shift || 301;
$self->location($location);
$self->status($status);