aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.h
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.h
parent9d00f9e44989e2ac8e755bcabe9392df54c4f54c (diff)
downloadnginx-8a84dd4f322e9bdf7a07c3b51ed76b671d07e161.tar.gz
nginx-8a84dd4f322e9bdf7a07c3b51ed76b671d07e161.zip
Expose more headers with NGX_HTTP_HEADERS.
Diffstat (limited to 'src/http/ngx_http_request.h')
-rw-r--r--src/http/ngx_http_request.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h
index ead323866..5d44c06ef 100644
--- a/src/http/ngx_http_request.h
+++ b/src/http/ngx_http_request.h
@@ -200,7 +200,7 @@ typedef struct {
ngx_table_elt_t *expect;
ngx_table_elt_t *upgrade;
-#if (NGX_HTTP_GZIP)
+#if (NGX_HTTP_GZIP || NGX_HTTP_HEADERS)
ngx_table_elt_t *accept_encoding;
ngx_table_elt_t *via;
#endif