diff options
Diffstat (limited to '')
| -rw-r--r-- | src/http/ngx_http_special_response.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/http/ngx_http_special_response.c b/src/http/ngx_http_special_response.c index 5a1f3c461..d115fddc3 100644 --- a/src/http/ngx_http_special_response.c +++ b/src/http/ngx_http_special_response.c @@ -371,6 +371,9 @@ ngx_http_special_response_handler(ngx_http_request_t *r, ngx_int_t error) r->headers_out.content_length = NULL; } + ngx_http_clear_accept_ranges(r); + ngx_http_clear_last_modified(r); + rc = ngx_http_send_header(r); if (rc == NGX_ERROR || r->header_only) { |
