Mercurial > hg > nginx
diff src/http/ngx_http_special_response.c @ 292:a472bfb778b3
nginx-0.0.3-2004-03-17-00:26:01 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 16 Mar 2004 21:26:01 +0000 |
parents | 87e73f067470 |
children | ec3c049681fd |
line wrap: on
line diff
--- a/src/http/ngx_http_special_response.c Tue Mar 16 13:35:20 2004 +0000 +++ b/src/http/ngx_http_special_response.c Tue Mar 16 21:26:01 2004 +0000 @@ -248,9 +248,9 @@ } r->headers_out.content_type->key.len = sizeof("Content-Type") - 1; - r->headers_out.content_type->key.data = "Content-Type"; + r->headers_out.content_type->key.data = (u_char *) "Content-Type"; r->headers_out.content_type->value.len = sizeof("text/html") - 1; - r->headers_out.content_type->value.data = "text/html"; + r->headers_out.content_type->value.data = (u_char *) "text/html"; } else { r->headers_out.content_length_n = -1;