mirror of
https://github.com/nginx/nginx.git
synced 2026-02-03 20:29:27 -05:00
Merge 9b4456bb28 into 86e5930e76
This commit is contained in:
commit
c9e312514e
4 changed files with 4 additions and 4 deletions
|
|
@ -2065,7 +2065,7 @@ ngx_http_fastcgi_process_header(ngx_http_request_t *r)
|
|||
} else if (u->headers_in.location) {
|
||||
u->headers_in.status_n = 302;
|
||||
ngx_str_set(&u->headers_in.status_line,
|
||||
"302 Moved Temporarily");
|
||||
"302 Found");
|
||||
|
||||
} else {
|
||||
u->headers_in.status_n = 200;
|
||||
|
|
|
|||
|
|
@ -1170,7 +1170,7 @@ ngx_http_scgi_process_header(ngx_http_request_t *r)
|
|||
} else if (u->headers_in.location) {
|
||||
u->headers_in.status_n = 302;
|
||||
ngx_str_set(&u->headers_in.status_line,
|
||||
"302 Moved Temporarily");
|
||||
"302 Found");
|
||||
|
||||
} else {
|
||||
u->headers_in.status_n = 200;
|
||||
|
|
|
|||
|
|
@ -1407,7 +1407,7 @@ ngx_http_uwsgi_process_header(ngx_http_request_t *r)
|
|||
} else if (u->headers_in.location) {
|
||||
u->headers_in.status_n = 302;
|
||||
ngx_str_set(&u->headers_in.status_line,
|
||||
"302 Moved Temporarily");
|
||||
"302 Found");
|
||||
|
||||
} else {
|
||||
u->headers_in.status_n = 200;
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ static ngx_str_t ngx_http_status_lines[] = {
|
|||
/* ngx_null_string, */ /* "300 Multiple Choices" */
|
||||
|
||||
ngx_string("301 Moved Permanently"),
|
||||
ngx_string("302 Moved Temporarily"),
|
||||
ngx_string("302 Found"),
|
||||
ngx_string("303 See Other"),
|
||||
ngx_string("304 Not Modified"),
|
||||
ngx_null_string, /* "305 Use Proxy" */
|
||||
|
|
|
|||
Loading…
Reference in a new issue