Mercurial > hg > nginx
comparison src/http/ngx_http_special_response.c @ 4746:4a18bf1833a9
Entity tags: clear on entity changes.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Sat, 07 Jul 2012 21:22:27 +0000 |
parents | d11f86a16e3b |
children | 812c4765c954 |
comparison
equal
deleted
inserted
replaced
4745:4752060ca462 | 4746:4a18bf1833a9 |
---|---|
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; |