mirror of
https://github.com/nginx/nginx.git
synced 2025-08-05 22:26:15 +08:00
use a right "Location" header name, however, it did not harm,
since ngx_http_variable_sent_location() never use key name field
This commit is contained in:
parent
593dec8b35
commit
e0538991ff
@ -538,8 +538,8 @@ ngx_http_header_filter(ngx_http_request_t *r)
|
||||
|
||||
r->headers_out.location->value.len = b->last - p;
|
||||
r->headers_out.location->value.data = p;
|
||||
r->headers_out.location->key.len = sizeof("Location: ") - 1;
|
||||
r->headers_out.location->key.data = (u_char *) "Location: ";
|
||||
r->headers_out.location->key.len = sizeof("Location") - 1;
|
||||
r->headers_out.location->key.data = (u_char *) "Location";
|
||||
|
||||
*b->last++ = CR; *b->last++ = LF;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user