]> git.ipfire.org Git - thirdparty/squid.git/commit
HTTP Compliance: Support If-Match and If-None-Match requests.
authorAlex Rousskov <rousskov@measurement-factory.com>
Wed, 27 Oct 2010 23:29:55 +0000 (17:29 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Wed, 27 Oct 2010 23:29:55 +0000 (17:29 -0600)
commit79c8035eb53d5f59009787c37ef5ccfa2b97a70c
tree5511d2a3b96a61f804a7b68ce8ada713b2b3b470
parent43d1bbe4718cc022ccbe2d58ba52f54189f855c9
HTTP Compliance: Support If-Match and If-None-Match requests.

Add support for If-Match and If-None-Match headers as described in RFC 2616
(sections 14.24 and 14.26 in particular).

Moved IMS handling from clientReplyContext::cacheHit() to
clientReplyContext::processConditional() while preserving the original IMS
logic, except for the case when a request has both IMS and If-None-Match.

Co-Advisors test cases:
    test_clause/rfc2616/ifMatch-mismatch-strong
    test_clause/rfc2616/ifMatch-mismatch-weak
    test_clause/rfc2616/ifNoneMatch-match-imsNone
    and many more
errors/Makefile.am
errors/list
src/HttpRequest.cc
src/HttpRequest.h
src/Store.h
src/client_side_reply.cc
src/client_side_reply.h
src/err_type.h
src/store.cc