Mercurial > hg > nginx-vendor-current
comparison src/http/modules/ngx_http_charset_filter_module.c @ 146:36af50a5582d NGINX_0_3_20
nginx 0.3.20
*) Bugfix: in SSI handling.
*) Bugfix: the ngx_http_memcached_module did not support the keys in
the "/usr?args" form.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 11 Jan 2006 00:00:00 +0300 |
parents | cf3d6edb3ad6 |
children | 71ff1e2b484a |
comparison
equal
deleted
inserted
replaced
145:85a84f8da62b | 146:36af50a5582d |
---|---|
160 "application/x-javascript", 24) != 0) | 160 "application/x-javascript", 24) != 0) |
161 { | 161 { |
162 return ngx_http_next_header_filter(r); | 162 return ngx_http_next_header_filter(r); |
163 } | 163 } |
164 | 164 |
165 if (r->main == r | 165 if (r == r->main |
166 && ngx_strstr(r->headers_out.content_type.data, "charset") != NULL) | 166 && ngx_strstr(r->headers_out.content_type.data, "charset") != NULL) |
167 { | 167 { |
168 return ngx_http_next_header_filter(r); | 168 return ngx_http_next_header_filter(r); |
169 } | 169 } |
170 | 170 |