diff options
| author | Maxim Dounin <mdounin@mdounin.ru> | 2012-03-05 13:03:39 +0000 |
|---|---|---|
| committer | Maxim Dounin <mdounin@mdounin.ru> | 2012-03-05 13:03:39 +0000 |
| commit | 031458770a48be9b0bf5534c70abfc8284f135d7 (patch) | |
| tree | 53cfe7b3be840ec8fa26356ee53df72a2ee7137e /src/http/modules/perl/nginx.pm | |
| parent | 01f59615400f7449a8b88e9e74a27c2a8b93fb87 (diff) | |
| download | nginx-031458770a48be9b0bf5534c70abfc8284f135d7.tar.gz nginx-031458770a48be9b0bf5534c70abfc8284f135d7.tar.bz2 | |
Merge of r4491, r4492:
*) Renamed constants and fixed off-by-one error in "msie_padding on"
handling.
*) 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 f0bb3b0ee..34595a9f5 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; |
