mirror of
https://github.com/nginx/nginx.git
synced 2024-12-20 06:03:31 -06:00
Proxy: the "TE" header now stripped by default (ticket #537).
This commit is contained in:
parent
1ea64b3f8f
commit
88ed2d39af
@ -715,6 +715,7 @@ static ngx_keyval_t ngx_http_proxy_headers[] = {
|
||||
{ ngx_string("Host"), ngx_string("$proxy_host") },
|
||||
{ ngx_string("Connection"), ngx_string("close") },
|
||||
{ ngx_string("Content-Length"), ngx_string("$proxy_internal_body_length") },
|
||||
{ ngx_string("TE"), ngx_string("") },
|
||||
{ ngx_string("Transfer-Encoding"), ngx_string("") },
|
||||
{ ngx_string("Keep-Alive"), ngx_string("") },
|
||||
{ ngx_string("Expect"), ngx_string("") },
|
||||
@ -742,6 +743,7 @@ static ngx_keyval_t ngx_http_proxy_cache_headers[] = {
|
||||
{ ngx_string("Host"), ngx_string("$proxy_host") },
|
||||
{ ngx_string("Connection"), ngx_string("close") },
|
||||
{ ngx_string("Content-Length"), ngx_string("$proxy_internal_body_length") },
|
||||
{ ngx_string("TE"), ngx_string("") },
|
||||
{ ngx_string("Transfer-Encoding"), ngx_string("") },
|
||||
{ ngx_string("Keep-Alive"), ngx_string("") },
|
||||
{ ngx_string("Expect"), ngx_string("") },
|
||||
|
Loading…
Reference in New Issue
Block a user