allow to append charset to the "Content-Type" header

This commit is contained in:
Igor Sysoev 2007-08-31 18:47:25 +00:00
parent b3dd3fd359
commit 2cc3ad8bea

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;