Changeset 7206:33edea74bd58 in nginx


Ignore:
Timestamp:
02/15/18 14:51:26 (2 years ago)
Author:
Ruslan Ermilov <ru@…>
Branch:
default
Phase:
public
Message:

Expose more headers with NGX_HTTP_HEADERS.

Location:
src/http
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/http/ngx_http_request.c

    r7193 r7206  
    141141                 ngx_http_process_header_line },
    142142
    143 #if (NGX_HTTP_GZIP)
     143#if (NGX_HTTP_GZIP || NGX_HTTP_HEADERS)
    144144    { ngx_string("Accept-Encoding"),
    145145                 offsetof(ngx_http_headers_in_t, accept_encoding),
  • src/http/ngx_http_request.h

    r7199 r7206  
    201201    ngx_table_elt_t                  *upgrade;
    202202
    203 #if (NGX_HTTP_GZIP)
     203#if (NGX_HTTP_GZIP || NGX_HTTP_HEADERS)
    204204    ngx_table_elt_t                  *accept_encoding;
    205205    ngx_table_elt_t                  *via;
Note: See TracChangeset for help on using the changeset viewer.