diff options
author | Ruslan Ermilov <ru@nginx.com> | 2018-02-15 17:51:26 +0300 |
---|---|---|
committer | Ruslan Ermilov <ru@nginx.com> | 2018-02-15 17:51:26 +0300 |
commit | 8a84dd4f322e9bdf7a07c3b51ed76b671d07e161 (patch) | |
tree | 67f96a9911a768a0d9473cee0ee579bd43dda8ec /src/http/ngx_http_request.c | |
parent | 9d00f9e44989e2ac8e755bcabe9392df54c4f54c (diff) | |
download | nginx-8a84dd4f322e9bdf7a07c3b51ed76b671d07e161.tar.gz nginx-8a84dd4f322e9bdf7a07c3b51ed76b671d07e161.zip |
Expose more headers with NGX_HTTP_HEADERS.
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r-- | src/http/ngx_http_request.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c index a2663f015..89cfe77ad 100644 --- 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 }, |