diff options
| author | Simon Leblanc <contact@leblanc-simon.eu> | 2017-04-11 03:13:46 +0200 |
|---|---|---|
| committer | Simon Leblanc <contact@leblanc-simon.eu> | 2017-04-11 03:13:46 +0200 |
| commit | 8ee2de5e9c930273c99a03452e7336f8a393ec42 (patch) | |
| tree | d26de384b0f3a2d6533d9823cb5087d230954287 /src/http/modules/perl/nginx.pm | |
| parent | a965e1d76642095f3f4e5f43d13a8b0379296e43 (diff) | |
| download | nginx-8ee2de5e9c930273c99a03452e7336f8a393ec42.tar.gz nginx-8ee2de5e9c930273c99a03452e7336f8a393ec42.tar.bz2 | |
Added support for the "308 Permanent Redirect" (ticket #877).
Diffstat (limited to 'src/http/modules/perl/nginx.pm')
| -rw-r--r-- | src/http/modules/perl/nginx.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/modules/perl/nginx.pm b/src/http/modules/perl/nginx.pm index e3f736110..d4663dc3b 100644 --- a/src/http/modules/perl/nginx.pm +++ b/src/http/modules/perl/nginx.pm @@ -24,6 +24,7 @@ our @EXPORT = qw( HTTP_SEE_OTHER HTTP_NOT_MODIFIED HTTP_TEMPORARY_REDIRECT + HTTP_PERMANENT_REDIRECT HTTP_BAD_REQUEST HTTP_UNAUTHORIZED @@ -72,6 +73,7 @@ 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_PERMANENT_REDIRECT => 308; use constant HTTP_BAD_REQUEST => 400; use constant HTTP_UNAUTHORIZED => 401; |
