Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2018-02-15 17:51:26 +0300
committerRuslan Ermilov <ru@nginx.com>2018-02-15 17:51:26 +0300
commit8a84dd4f322e9bdf7a07c3b51ed76b671d07e161 (patch)
tree67f96a9911a768a0d9473cee0ee579bd43dda8ec /src/http/ngx_http_request.c
parent9d00f9e44989e2ac8e755bcabe9392df54c4f54c (diff)
Expose more headers with NGX_HTTP_HEADERS.
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r--src/http/ngx_http_request.c2
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 },