comparison src/http/ngx_http_special_response.c @ 680:597573166f34 NGINX_1_3_3

nginx 1.3.3 *) Feature: entity tags support and the "etag" directive. *) Bugfix: trailing dot in a source value was not ignored if the "map" directive was used with the "hostnames" parameter. *) Bugfix: incorrect location might be used to process a request if a URI was changed via a "rewrite" directive before an internal redirect to a named location.
author Igor Sysoev <http://sysoev.ru>
date Tue, 10 Jul 2012 00:00:00 +0400
parents f5b859b2f097
children 6db6e93f55ee
comparison
equal deleted inserted replaced
679:cad34cec7d3b 680:597573166f34
654 r->headers_out.content_length = NULL; 654 r->headers_out.content_length = NULL;
655 } 655 }
656 656
657 ngx_http_clear_accept_ranges(r); 657 ngx_http_clear_accept_ranges(r);
658 ngx_http_clear_last_modified(r); 658 ngx_http_clear_last_modified(r);
659 ngx_http_clear_etag(r);
659 660
660 rc = ngx_http_send_header(r); 661 rc = ngx_http_send_header(r);
661 662
662 if (rc == NGX_ERROR || r->header_only) { 663 if (rc == NGX_ERROR || r->header_only) {
663 return rc; 664 return rc;
752 r->headers_out.content_length = NULL; 753 r->headers_out.content_length = NULL;
753 } 754 }
754 755
755 ngx_http_clear_accept_ranges(r); 756 ngx_http_clear_accept_ranges(r);
756 ngx_http_clear_last_modified(r); 757 ngx_http_clear_last_modified(r);
758 ngx_http_clear_etag(r);
757 759
758 rc = ngx_http_send_header(r); 760 rc = ngx_http_send_header(r);
759 761
760 if (rc == NGX_ERROR || r->header_only) { 762 if (rc == NGX_ERROR || r->header_only) {
761 return rc; 763 return rc;