Mercurial > hg > nginx
comparison src/http/modules/ngx_http_headers_filter_module.c @ 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 | 5dfc63c1d9ca |
children | 0cdee26605f3 |
comparison
equal
deleted
inserted
replaced
6976:6c13008ad503 | 6977:be5cfa918bfc |
---|---|
171 case NGX_HTTP_MOVED_PERMANENTLY: | 171 case NGX_HTTP_MOVED_PERMANENTLY: |
172 case NGX_HTTP_MOVED_TEMPORARILY: | 172 case NGX_HTTP_MOVED_TEMPORARILY: |
173 case NGX_HTTP_SEE_OTHER: | 173 case NGX_HTTP_SEE_OTHER: |
174 case NGX_HTTP_NOT_MODIFIED: | 174 case NGX_HTTP_NOT_MODIFIED: |
175 case NGX_HTTP_TEMPORARY_REDIRECT: | 175 case NGX_HTTP_TEMPORARY_REDIRECT: |
176 case NGX_HTTP_PERMANENT_REDIRECT: | |
176 safe_status = 1; | 177 safe_status = 1; |
177 break; | 178 break; |
178 | 179 |
179 default: | 180 default: |
180 safe_status = 0; | 181 safe_status = 0; |