Mercurial > hg > nginx-vendor-current
diff 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 |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_not_modified_filter_module.c +++ b/src/http/modules/ngx_http_not_modified_filter_module.c @@ -57,11 +57,11 @@ ngx_http_not_modified_header_filter(ngx_ { return ngx_http_next_header_filter(r); } - + if (r->headers_in.if_unmodified_since) { return ngx_http_test_precondition(r); } - + if (r->headers_in.if_modified_since) { return ngx_http_test_not_modified(r); }