comparison src/http/ngx_http_special_response.c @ 415:3c56e834be46

nginx-0.0.10-2004-09-05-23:54:02 import
author Igor Sysoev <igor@sysoev.ru>
date Sun, 05 Sep 2004 19:54:02 +0000
parents 6f3b20c1ac50
children b9bd635011de
comparison
equal deleted inserted replaced
414:388a842cbbe1 415:3c56e834be46
281 r->headers_out.content_length_n += sizeof(msie_stub) - 1; 281 r->headers_out.content_length_n += sizeof(msie_stub) - 1;
282 msie_padding = 1; 282 msie_padding = 1;
283 } 283 }
284 284
285 if (!(r->headers_out.content_type = 285 if (!(r->headers_out.content_type =
286 ngx_http_add_header(&r->headers_out, ngx_http_headers_out))) 286 ngx_push_list(&r->headers_out.headers)))
287 { 287 {
288 return NGX_ERROR; 288 return NGX_ERROR;
289 } 289 }
290 290
291 r->headers_out.content_type->key.len = sizeof("Content-Type") - 1; 291 r->headers_out.content_type->key.len = sizeof("Content-Type") - 1;