process upstream ETag header

This commit is contained in:
Igor Sysoev 2009-08-23 16:10:39 +00:00
parent f4f7d5e5f4
commit 5374610ace

View File

@ -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),