Mercurial > hg > nginx
comparison src/http/ngx_http_request.c @ 7206:33edea74bd58
Expose more headers with NGX_HTTP_HEADERS.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Thu, 15 Feb 2018 17:51:26 +0300 |
parents | 9d14931cec8c |
children | c693daca57f7 |
comparison
equal
deleted
inserted
replaced
7205:fc4d82c13c04 | 7206:33edea74bd58 |
---|---|
138 | 138 |
139 { ngx_string("Upgrade"), | 139 { ngx_string("Upgrade"), |
140 offsetof(ngx_http_headers_in_t, upgrade), | 140 offsetof(ngx_http_headers_in_t, upgrade), |
141 ngx_http_process_header_line }, | 141 ngx_http_process_header_line }, |
142 | 142 |
143 #if (NGX_HTTP_GZIP) | 143 #if (NGX_HTTP_GZIP || NGX_HTTP_HEADERS) |
144 { ngx_string("Accept-Encoding"), | 144 { ngx_string("Accept-Encoding"), |
145 offsetof(ngx_http_headers_in_t, accept_encoding), | 145 offsetof(ngx_http_headers_in_t, accept_encoding), |
146 ngx_http_process_header_line }, | 146 ngx_http_process_header_line }, |
147 | 147 |
148 { ngx_string("Via"), offsetof(ngx_http_headers_in_t, via), | 148 { ngx_string("Via"), offsetof(ngx_http_headers_in_t, via), |