merge r3038:

process upstream ETag header
This commit is contained in:
Igor Sysoev 2009-09-07 11:27:07 +00:00
parent 896d915479
commit a8b6c54f2c
1 changed files with 6 additions and 0 deletions

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