comparison src/http/modules/ngx_http_not_modified_filter_module.c @ 464:c8cfb6c462ef NGINX_0_7_44

nginx 0.7.44 *) Feature: the ngx_http_proxy_module preliminary cache support. *) Feature: the --with-pcre option in the configure. *) Feature: the "try_files" directive is now allowed on the server block level. *) Bugfix: the "try_files" directive handled incorrectly a query string in a fallback parameter. *) Bugfix: the "try_files" directive might test incorrectly directories. *) Bugfix: if there is the single server for given address:port pair, then captures in regular expressions in a "server_name" directive did not work.
author Igor Sysoev <http://sysoev.ru>
date Mon, 23 Mar 2009 00:00:00 +0300
parents 33394d1255b0
children 549994537f15
comparison
equal deleted inserted replaced
463:51cb914e6d3a 464:c8cfb6c462ef
81 return ngx_http_next_header_filter(r); 81 return ngx_http_next_header_filter(r);
82 } 82 }
83 } 83 }
84 84
85 r->headers_out.status = NGX_HTTP_NOT_MODIFIED; 85 r->headers_out.status = NGX_HTTP_NOT_MODIFIED;
86 r->headers_out.status_line.len = 0;
86 r->headers_out.content_type.len = 0; 87 r->headers_out.content_type.len = 0;
87 ngx_http_clear_content_length(r); 88 ngx_http_clear_content_length(r);
88 ngx_http_clear_accept_ranges(r); 89 ngx_http_clear_accept_ranges(r);
89 90
90 return ngx_http_next_header_filter(r); 91 return ngx_http_next_header_filter(r);