diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2009-09-07 11:27:07 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2009-09-07 11:27:07 +0000 |
| commit | 6ace74566da2ec313d08012a458aa6dc175c1808 (patch) | |
| tree | 85fe24f16059ea39ef8478813f910ee9c636fb78 | |
| parent | 80d70e434dd091ee0eae8455b577cc98c3b5dc1f (diff) | |
| download | nginx-6ace74566da2ec313d08012a458aa6dc175c1808.tar.gz nginx-6ace74566da2ec313d08012a458aa6dc175c1808.tar.bz2 | |
merge r3038:
process upstream ETag header
| -rw-r--r-- | src/http/ngx_http_upstream.c | 6 |
1 files changed, 6 insertions, 0 deletions
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), |
