Mercurial > hg > nginx-quic
comparison src/http/modules/ngx_http_xslt_filter_module.c @ 2882:896db5a09bd2
reset content_type hash value, this fixes a bug when XSLT responses
could not be processed by SSI, charset, and gzip filters
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 25 May 2009 09:06:29 +0000 |
parents | 26e06e009ced |
children | 61d5b945730a |
comparison
equal
deleted
inserted
replaced
2881:13b63d682228 | 2882:896db5a09bd2 |
---|---|
835 r->headers_out.content_type_len = sizeof("text/html") - 1; | 835 r->headers_out.content_type_len = sizeof("text/html") - 1; |
836 r->headers_out.content_type.len = sizeof("text/html") - 1; | 836 r->headers_out.content_type.len = sizeof("text/html") - 1; |
837 r->headers_out.content_type.data = (u_char *) "text/html"; | 837 r->headers_out.content_type.data = (u_char *) "text/html"; |
838 } | 838 } |
839 | 839 |
840 r->headers_out.content_type_lowcase = NULL; | |
841 | |
840 return b; | 842 return b; |
841 } | 843 } |
842 | 844 |
843 | 845 |
844 static ngx_int_t | 846 static ngx_int_t |