From 6ace74566da2ec313d08012a458aa6dc175c1808 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 7 Sep 2009 11:27:07 +0000 Subject: merge r3038: process upstream ETag header --- src/http/ngx_http_upstream.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c index a0e7f8206..8c7f9a473 100644 --- a/src/http/ngx_http_upstream.c +++ b/src/http/ngx_http_upstream.c @@ -161,6 +161,12 @@ ngx_http_upstream_header_t ngx_http_upstream_headers_in[] = { offsetof(ngx_http_upstream_headers_in_t, last_modified), ngx_http_upstream_copy_last_modified, 0, 0 }, + { ngx_string("ETag"), + ngx_http_upstream_process_header_line, + offsetof(ngx_http_upstream_headers_in_t, etag), + ngx_http_upstream_copy_header_line, + offsetof(ngx_http_headers_out_t, etag), 0 }, + { ngx_string("Server"), ngx_http_upstream_process_header_line, offsetof(ngx_http_upstream_headers_in_t, server), -- cgit