diff options
author | Ruslan Ermilov <ru@nginx.com> | 2012-02-27 11:43:40 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@nginx.com> | 2012-02-27 11:43:40 +0000 |
commit | 1c57fb87905926519e2aef149b645d069328489e (patch) | |
tree | cacc864ff57273b5c20c678b85d82a716632bfc1 /src/http/modules/perl/nginx.pm | |
parent | 09422e632f5768d1de432e4a3cef9459b685418c (diff) | |
download | nginx-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.pm | 4 |
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; |