Mercurial > hg > nginx-vendor-current
comparison src/http/modules/ngx_http_not_modified_filter_module.c @ 612:ce857f6b74a7 NGINX_0_9_4
nginx 0.9.4
*) Feature: the "server_name" directive supports the $hostname variable.
*) Feature: 494 code for "Request Header Too Large" error.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Fri, 21 Jan 2011 00:00:00 +0300 |
parents | 3036c1836a24 |
children | d0f7a625f27c |
comparison
equal
deleted
inserted
replaced
611:f02ddde4a240 | 612:ce857f6b74a7 |
---|---|
55 || r != r->main | 55 || r != r->main |
56 || r->headers_out.last_modified_time == -1) | 56 || r->headers_out.last_modified_time == -1) |
57 { | 57 { |
58 return ngx_http_next_header_filter(r); | 58 return ngx_http_next_header_filter(r); |
59 } | 59 } |
60 | 60 |
61 if (r->headers_in.if_unmodified_since) { | 61 if (r->headers_in.if_unmodified_since) { |
62 return ngx_http_test_precondition(r); | 62 return ngx_http_test_precondition(r); |
63 } | 63 } |
64 | 64 |
65 if (r->headers_in.if_modified_since) { | 65 if (r->headers_in.if_modified_since) { |
66 return ngx_http_test_not_modified(r); | 66 return ngx_http_test_not_modified(r); |
67 } | 67 } |
68 | 68 |
69 return ngx_http_next_header_filter(r); | 69 return ngx_http_next_header_filter(r); |