mirror of
https://github.com/nginx/nginx.git
synced 2025-06-08 02:02:38 +08:00
Expose more headers with NGX_HTTP_HEADERS.
This commit is contained in:
parent
9d00f9e449
commit
8a84dd4f32
@ -140,7 +140,7 @@ ngx_http_header_t ngx_http_headers_in[] = {
|
|||||||
offsetof(ngx_http_headers_in_t, upgrade),
|
offsetof(ngx_http_headers_in_t, upgrade),
|
||||||
ngx_http_process_header_line },
|
ngx_http_process_header_line },
|
||||||
|
|
||||||
#if (NGX_HTTP_GZIP)
|
#if (NGX_HTTP_GZIP || NGX_HTTP_HEADERS)
|
||||||
{ ngx_string("Accept-Encoding"),
|
{ ngx_string("Accept-Encoding"),
|
||||||
offsetof(ngx_http_headers_in_t, accept_encoding),
|
offsetof(ngx_http_headers_in_t, accept_encoding),
|
||||||
ngx_http_process_header_line },
|
ngx_http_process_header_line },
|
||||||
|
@ -200,7 +200,7 @@ typedef struct {
|
|||||||
ngx_table_elt_t *expect;
|
ngx_table_elt_t *expect;
|
||||||
ngx_table_elt_t *upgrade;
|
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 *accept_encoding;
|
||||||
ngx_table_elt_t *via;
|
ngx_table_elt_t *via;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user