From 4884cd611e805ada82ad2735d4598cd41922ca0a Mon Sep 17 00:00:00 2001 From: Maxim Dounin Date: Mon, 19 May 2014 22:45:34 +0400 Subject: Charset filter: fixed charset setting on encoded replies. If response is gzipped we can't recode response, but in case it's not needed we still can add charset to Content-Type. The r->ignore_content_encoding is dropped accordingly, charset with gzip_static now properly works without any special flags. --- src/http/ngx_http_request.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/http/ngx_http_request.h') diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h index 705c4e904..c89ef6d14 100644 --- a/src/http/ngx_http_request.h +++ b/src/http/ngx_http_request.h @@ -511,7 +511,6 @@ struct ngx_http_request_s { unsigned discard_body:1; unsigned internal:1; unsigned error_page:1; - unsigned ignore_content_encoding:1; unsigned filter_finalize:1; unsigned post_action:1; unsigned request_complete:1; -- cgit v1.2.3