summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_special_response.c
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2012-07-07 21:22:27 +0000
committerMaxim Dounin <mdounin@mdounin.ru>2012-07-07 21:22:27 +0000
commitc96c4196f3cf616b29ac08f22d96fc3e20f44593 (patch)
tree4d1e8c3460a823334eecb37d9590329ffd93f79f /src/http/ngx_http_special_response.c
parent9c17e4cb6688af0531686645db2a3193445b782d (diff)
downloadnginx-c96c4196f3cf616b29ac08f22d96fc3e20f44593.tar.gz
nginx-c96c4196f3cf616b29ac08f22d96fc3e20f44593.tar.bz2
Entity tags: clear on entity changes.
Diffstat (limited to 'src/http/ngx_http_special_response.c')
-rw-r--r--src/http/ngx_http_special_response.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/ngx_http_special_response.c b/src/http/ngx_http_special_response.c
index 77b3dd13f..224cb811d 100644
--- a/src/http/ngx_http_special_response.c
+++ b/src/http/ngx_http_special_response.c
@@ -656,6 +656,7 @@ ngx_http_send_special_response(ngx_http_request_t *r,
ngx_http_clear_accept_ranges(r);
ngx_http_clear_last_modified(r);
+ ngx_http_clear_etag(r);
rc = ngx_http_send_header(r);
@@ -754,6 +755,7 @@ ngx_http_send_refresh(ngx_http_request_t *r)
ngx_http_clear_accept_ranges(r);
ngx_http_clear_last_modified(r);
+ ngx_http_clear_etag(r);
rc = ngx_http_send_header(r);