comparison src/http/modules/ngx_http_status_handler.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
68 68
69 if (rc != NGX_OK && rc != NGX_AGAIN) { 69 if (rc != NGX_OK && rc != NGX_AGAIN) {
70 return rc; 70 return rc;
71 } 71 }
72 72
73 if (!(r->headers_out.content_type = 73 if (!(r->headers_out.content_type = ngx_push_list(&r->headers_out.headers)))
74 ngx_http_add_header(&r->headers_out, ngx_http_headers_out)))
75 { 74 {
76 return NGX_HTTP_INTERNAL_SERVER_ERROR; 75 return NGX_HTTP_INTERNAL_SERVER_ERROR;
77 } 76 }
78 77
79 r->headers_out.content_type->key.len = 0; 78 r->headers_out.content_type->key.len = 0;