]> git.kaiwu.me - nginx.git/commit
Entity tags: basic support in not modified filter.
authorMaxim Dounin <mdounin@mdounin.ru>
Sat, 7 Jul 2012 21:20:27 +0000 (21:20 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Sat, 7 Jul 2012 21:20:27 +0000 (21:20 +0000)
commit13eb6898aac3dd30690918a36b06998236ec0d9c
tree61e4afcfd04d65b615ff4d195b90899341adb619
parenta9456d55aba7d6e068339a6a79dbc937ff30486d
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).
src/http/modules/ngx_http_not_modified_filter_module.c
src/http/ngx_http_request.c
src/http/ngx_http_request.h