From b477b2c2f43550859ac21ddbde9481de05dc13e5 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 27 Jul 2009 13:18:40 +0000 Subject: [PATCH] clear "Accept-Ranges" for SSI responses --- src/http/modules/ngx_http_ssi_filter_module.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/http/modules/ngx_http_ssi_filter_module.c b/src/http/modules/ngx_http_ssi_filter_module.c index 97b58fa0a..24b30a8fa 100644 --- a/src/http/modules/ngx_http_ssi_filter_module.c +++ b/src/http/modules/ngx_http_ssi_filter_module.c @@ -360,6 +360,7 @@ ngx_http_ssi_header_filter(ngx_http_request_t *r) if (r == r->main) { ngx_http_clear_content_length(r); ngx_http_clear_last_modified(r); + ngx_http_clear_accept_ranges(r); } return ngx_http_next_header_filter(r);