comparison src/http/ngx_http_upstream.c @ 3037:0278f13b04c5

process upstream ETag header
author Igor Sysoev <igor@sysoev.ru>
date Sun, 23 Aug 2009 16:10:39 +0000
parents 524ba56ba9f7
children f54b02dbb12b
comparison
equal deleted inserted replaced
3036:d2b183c39878 3037:0278f13b04c5
159 { ngx_string("Last-Modified"), 159 { ngx_string("Last-Modified"),
160 ngx_http_upstream_process_header_line, 160 ngx_http_upstream_process_header_line,
161 offsetof(ngx_http_upstream_headers_in_t, last_modified), 161 offsetof(ngx_http_upstream_headers_in_t, last_modified),
162 ngx_http_upstream_copy_last_modified, 0, 0 }, 162 ngx_http_upstream_copy_last_modified, 0, 0 },
163 163
164 { ngx_string("ETag"),
165 ngx_http_upstream_process_header_line,
166 offsetof(ngx_http_upstream_headers_in_t, etag),
167 ngx_http_upstream_copy_header_line,
168 offsetof(ngx_http_headers_out_t, etag), 0 },
169
164 { ngx_string("Server"), 170 { ngx_string("Server"),
165 ngx_http_upstream_process_header_line, 171 ngx_http_upstream_process_header_line,
166 offsetof(ngx_http_upstream_headers_in_t, server), 172 offsetof(ngx_http_upstream_headers_in_t, server),
167 ngx_http_upstream_copy_header_line, 173 ngx_http_upstream_copy_header_line,
168 offsetof(ngx_http_headers_out_t, server), 0 }, 174 offsetof(ngx_http_headers_out_t, server), 0 },