aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_headers.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/ngx_http_headers.c')
-rw-r--r--src/http/ngx_http_headers.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/ngx_http_headers.c b/src/http/ngx_http_headers.c
index 128744917..1820ea768 100644
--- a/src/http/ngx_http_headers.c
+++ b/src/http/ngx_http_headers.c
@@ -19,8 +19,10 @@ ngx_http_header_t ngx_http_headers_in[] = {
{ ngx_string("If-Range"), offsetof(ngx_http_headers_in_t, if_range) },
#endif
+#if (NGX_HTTP_GZIP)
{ ngx_string("Accept-Encoding"),
offsetof(ngx_http_headers_in_t, accept_encoding) },
+#endif
{ ngx_string("Authorization"),
offsetof(ngx_http_headers_in_t, authorization) },