diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2009-08-23 16:10:39 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2009-08-23 16:10:39 +0000 |
| commit | 5374610ace6144a5b92afecb6c13d293d2daa0bf (patch) | |
| tree | 5ec63be59f1f0fc17c73b383acbcd2428eae037c | |
| parent | f4f7d5e5f4522130a7787355cf09cdf48b60acb3 (diff) | |
| download | nginx-5374610ace6144a5b92afecb6c13d293d2daa0bf.tar.gz nginx-5374610ace6144a5b92afecb6c13d293d2daa0bf.tar.bz2 | |
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 b02caa67d..404be48ef 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), |
