summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2008-10-31 18:57:33 +0100
committerYorhel <git@yorhel.nl>2008-10-31 18:57:33 +0100
commit6a266aa61a097a3c4c8849b17a496bc1c273b0f1 (patch)
tree9bebe357f9313623a7f7c2ee260b74aa7dd8073c /lib
parentf8eb8baf624f04db573cc8e45dff498f97cd1c60 (diff)
Fixed POST (303) redirect
Diffstat (limited to 'lib')
-rw-r--r--lib/YAWF/Response.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/YAWF/Response.pm b/lib/YAWF/Response.pm
index 23c7ed8..012f490 100644
--- a/lib/YAWF/Response.pm
+++ b/lib/YAWF/Response.pm
@@ -134,7 +134,7 @@ sub resRedirect {
my $fd = $self->resFd();
print $fd 'Redirecting...';
$self->resHeader('Location' => $self->reqBaseURI().$url);
- $self->resStatus(!$type ? 301 : $type eq 'temp' ? 307 : 307);
+ $self->resStatus(!$type ? 301 : $type eq 'temp' ? 307 : 303);
}