Mercurial > hg > nginx
diff src/http/ngx_http_request.c @ 7206:33edea74bd58
Expose more headers with NGX_HTTP_HEADERS.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Thu, 15 Feb 2018 17:51:26 +0300 |
parents | 9d14931cec8c |
children | c693daca57f7 |
line wrap: on
line diff
--- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c @@ -140,7 +140,7 @@ ngx_http_header_t ngx_http_headers_in[] offsetof(ngx_http_headers_in_t, upgrade), ngx_http_process_header_line }, -#if (NGX_HTTP_GZIP) +#if (NGX_HTTP_GZIP || NGX_HTTP_HEADERS) { ngx_string("Accept-Encoding"), offsetof(ngx_http_headers_in_t, accept_encoding), ngx_http_process_header_line },