aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.h
diff options
context:
space:
mode:
authorSimon Leblanc <contact@leblanc-simon.eu>2017-04-11 03:13:46 +0200
committerSimon Leblanc <contact@leblanc-simon.eu>2017-04-11 03:13:46 +0200
commit8ee2de5e9c930273c99a03452e7336f8a393ec42 (patch)
treed26de384b0f3a2d6533d9823cb5087d230954287 /src/http/ngx_http_request.h
parenta965e1d76642095f3f4e5f43d13a8b0379296e43 (diff)
downloadnginx-8ee2de5e9c930273c99a03452e7336f8a393ec42.tar.gz
nginx-8ee2de5e9c930273c99a03452e7336f8a393ec42.zip
Added support for the "308 Permanent Redirect" (ticket #877).
Diffstat (limited to 'src/http/ngx_http_request.h')
-rw-r--r--src/http/ngx_http_request.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h
index a68b90692..2c77f9323 100644
--- a/src/http/ngx_http_request.h
+++ b/src/http/ngx_http_request.h
@@ -83,6 +83,7 @@
#define NGX_HTTP_SEE_OTHER 303
#define NGX_HTTP_NOT_MODIFIED 304
#define NGX_HTTP_TEMPORARY_REDIRECT 307
+#define NGX_HTTP_PERMANENT_REDIRECT 308
#define NGX_HTTP_BAD_REQUEST 400
#define NGX_HTTP_UNAUTHORIZED 401