Mercurial > hg > nginx
comparison src/http/modules/ngx_http_charset_filter_module.c @ 2877:3cd2790f4a9b
add charset for ngx_http_gzip_static_module responses
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 22 May 2009 11:05:26 +0000 |
parents | a6d6d762c554 |
children | 0bb8c54f4c45 042124063e3d |
comparison
equal
deleted
inserted
replaced
2876:658725e3eef4 | 2877:3cd2790f4a9b |
---|---|
222 | 222 |
223 /* destination charset */ | 223 /* destination charset */ |
224 | 224 |
225 if (r == r->main) { | 225 if (r == r->main) { |
226 | 226 |
227 if (r->headers_out.content_encoding | 227 if (!r->ignore_content_encoding |
228 && r->headers_out.content_encoding | |
228 && r->headers_out.content_encoding->value.len) | 229 && r->headers_out.content_encoding->value.len) |
229 { | 230 { |
230 return ngx_http_next_header_filter(r); | 231 return ngx_http_next_header_filter(r); |
231 } | 232 } |
232 | 233 |