Mercurial > hg > nginx
comparison src/http/ngx_http_request.h @ 6977:be5cfa918bfc
Added support for the "308 Permanent Redirect" (ticket #877).
author | Simon Leblanc <contact@leblanc-simon.eu> |
---|---|
date | Tue, 11 Apr 2017 03:13:46 +0200 |
parents | 3ef4cadfad7f |
children | 8801ff7d58e1 |
comparison
equal
deleted
inserted
replaced
6976:6c13008ad503 | 6977:be5cfa918bfc |
---|---|
81 #define NGX_HTTP_MOVED_PERMANENTLY 301 | 81 #define NGX_HTTP_MOVED_PERMANENTLY 301 |
82 #define NGX_HTTP_MOVED_TEMPORARILY 302 | 82 #define NGX_HTTP_MOVED_TEMPORARILY 302 |
83 #define NGX_HTTP_SEE_OTHER 303 | 83 #define NGX_HTTP_SEE_OTHER 303 |
84 #define NGX_HTTP_NOT_MODIFIED 304 | 84 #define NGX_HTTP_NOT_MODIFIED 304 |
85 #define NGX_HTTP_TEMPORARY_REDIRECT 307 | 85 #define NGX_HTTP_TEMPORARY_REDIRECT 307 |
86 #define NGX_HTTP_PERMANENT_REDIRECT 308 | |
86 | 87 |
87 #define NGX_HTTP_BAD_REQUEST 400 | 88 #define NGX_HTTP_BAD_REQUEST 400 |
88 #define NGX_HTTP_UNAUTHORIZED 401 | 89 #define NGX_HTTP_UNAUTHORIZED 401 |
89 #define NGX_HTTP_FORBIDDEN 403 | 90 #define NGX_HTTP_FORBIDDEN 403 |
90 #define NGX_HTTP_NOT_FOUND 404 | 91 #define NGX_HTTP_NOT_FOUND 404 |