aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.h
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2014-05-19 22:45:34 +0400
committerMaxim Dounin <mdounin@mdounin.ru>2014-05-19 22:45:34 +0400
commit4884cd611e805ada82ad2735d4598cd41922ca0a (patch)
tree9978596d4f69b24e33f225afb4819ae6dc39add9 /src/http/ngx_http_request.h
parentffba0eeefbdbc36d8bb826523355fd31d8929a27 (diff)
downloadnginx-4884cd611e805ada82ad2735d4598cd41922ca0a.tar.gz
nginx-4884cd611e805ada82ad2735d4598cd41922ca0a.zip
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.
Diffstat (limited to 'src/http/ngx_http_request.h')
-rw-r--r--src/http/ngx_http_request.h1
1 files changed, 0 insertions, 1 deletions
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;