From 8ee2de5e9c930273c99a03452e7336f8a393ec42 Mon Sep 17 00:00:00 2001 From: Simon Leblanc Date: Tue, 11 Apr 2017 03:13:46 +0200 Subject: Added support for the "308 Permanent Redirect" (ticket #877). --- src/http/modules/perl/nginx.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/http/modules/perl/nginx.pm') 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; -- cgit