comparison src/http/modules/ngx_http_not_modified_filter.c @ 153:c71aeb75c071

nginx-0.0.1-2003-10-21-20:49:56 import
author Igor Sysoev <igor@sysoev.ru>
date Tue, 21 Oct 2003 16:49:56 +0000
parents cb77c084acdb
children 46eb23d9471d
comparison
equal deleted inserted replaced
152:fb48bf4fea1c 153:c71aeb75c071
52 52
53 /* I think that the equality of the dates is correcter */ 53 /* I think that the equality of the dates is correcter */
54 54
55 if (ims != NGX_ERROR && ims == r->headers_out.last_modified_time) { 55 if (ims != NGX_ERROR && ims == r->headers_out.last_modified_time) {
56 r->headers_out.status = NGX_HTTP_NOT_MODIFIED; 56 r->headers_out.status = NGX_HTTP_NOT_MODIFIED;
57 r->headers_out.content_length = -1; 57 r->headers_out.content_length_n = -1;
58 r->headers_out.content_length = NULL;
58 r->headers_out.content_type->key.len = 0; 59 r->headers_out.content_type->key.len = 0;
59 r->headers_out.content_type = NULL; 60 r->headers_out.content_type = NULL;
60 r->headers_out.accept_ranges->key.len = 0; 61 r->headers_out.accept_ranges->key.len = 0;
61 } 62 }
62 63