r1445 merge:

allow to append charset to the "Content-Type" header
This commit is contained in:
Igor Sysoev 2007-09-23 19:26:53 +00:00
parent 272ee21e6b
commit 72c8eb8baf

View File

@ -131,6 +131,8 @@ send_http_header(r, ...)
XSRETURN_EMPTY;
}
r->headers_out.content_type_len = r->headers_out.content_type.len;
} else {
if (ngx_http_set_content_type(r) != NGX_OK) {
XSRETURN_EMPTY;