aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/perl/nginx.pm
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2012-02-27 11:43:40 +0000
committerRuslan Ermilov <ru@nginx.com>2012-02-27 11:43:40 +0000
commit1c57fb87905926519e2aef149b645d069328489e (patch)
treecacc864ff57273b5c20c678b85d82a716632bfc1 /src/http/modules/perl/nginx.pm
parent09422e632f5768d1de432e4a3cef9459b685418c (diff)
downloadnginx-1c57fb87905926519e2aef149b645d069328489e.tar.gz
nginx-1c57fb87905926519e2aef149b645d069328489e.zip
Added support for the 307 Temporary Redirect.
Diffstat (limited to 'src/http/modules/perl/nginx.pm')
-rw-r--r--src/http/modules/perl/nginx.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/http/modules/perl/nginx.pm b/src/http/modules/perl/nginx.pm
index 4248aacaa..b6fbdfd45 100644
--- a/src/http/modules/perl/nginx.pm
+++ b/src/http/modules/perl/nginx.pm
@@ -21,7 +21,9 @@ our @EXPORT = qw(
HTTP_MOVED_PERMANENTLY
HTTP_MOVED_TEMPORARILY
HTTP_REDIRECT
+ HTTP_SEE_OTHER
HTTP_NOT_MODIFIED
+ HTTP_TEMPORARY_REDIRECT
HTTP_BAD_REQUEST
HTTP_UNAUTHORIZED
@@ -67,7 +69,9 @@ use constant HTTP_PARTIAL_CONTENT => 206;
use constant HTTP_MOVED_PERMANENTLY => 301;
use constant HTTP_MOVED_TEMPORARILY => 302;
use constant HTTP_REDIRECT => 302;
+use constant HTTP_SEE_OTHER => 303;
use constant HTTP_NOT_MODIFIED => 304;
+use constant HTTP_TEMPORARY_REDIRECT => 307;
use constant HTTP_BAD_REQUEST => 400;
use constant HTTP_UNAUTHORIZED => 401;