diff src/http/ngx_http_headers.c @ 286:fc8dc489247e

nginx-0.0.2-2004-03-12-00:34:52 import
author Igor Sysoev <igor@sysoev.ru>
date Thu, 11 Mar 2004 21:34:52 +0000
parents 70e1c7d2b83d
children 35a6a9df2d25
line wrap: on
line diff
--- 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) },