comparison src/http/ngx_http_request.h @ 4744:5b93a9ac60ed

Entity tags: basic support in not modified filter. This includes handling of ETag headers (if present in a response) with basic support for If-Match, If-None-Match conditionals in not modified filter. Note that the "r->headers_out.last_modified_time == -1" check in the not modified filter is left as is intentionally. It's to prevent handling of If-* headers in case of proxy without cache (much like currently done with If-Modified-Since).
author Maxim Dounin <mdounin@mdounin.ru>
date Sat, 07 Jul 2012 21:20:27 +0000
parents 09187f9b0950
children 6f085bfcdb4d
comparison
equal deleted inserted replaced
4743:84cc73e01aa8 4744:5b93a9ac60ed
170 170
171 ngx_table_elt_t *host; 171 ngx_table_elt_t *host;
172 ngx_table_elt_t *connection; 172 ngx_table_elt_t *connection;
173 ngx_table_elt_t *if_modified_since; 173 ngx_table_elt_t *if_modified_since;
174 ngx_table_elt_t *if_unmodified_since; 174 ngx_table_elt_t *if_unmodified_since;
175 ngx_table_elt_t *if_match;
176 ngx_table_elt_t *if_none_match;
175 ngx_table_elt_t *user_agent; 177 ngx_table_elt_t *user_agent;
176 ngx_table_elt_t *referer; 178 ngx_table_elt_t *referer;
177 ngx_table_elt_t *content_length; 179 ngx_table_elt_t *content_length;
178 ngx_table_elt_t *content_type; 180 ngx_table_elt_t *content_type;
179 181