Remi Tricot-Le Breton
6cb10384a3
MEDIUM: cache: Add support for 'If-None-Match' request header
...
Partial support of conditional HTTP requests. This commit adds the
support of the 'If-None-Match' header (see RFC 7232#3.2).
When a client specifies a list of ETags through one or more
'If-None-Match' headers, they are all compared to the one that might have
been stored in the corresponding http cache entry until one of them
matches.
If a match happens, a specific "304 Not Modified" response is
sent instead of the cached data. This response has all the stored
headers but no other data (see RFC 7232#4.1). Otherwise, the whole cached data
is sent.
Although unlikely in a GET/HEAD request, the "If-None-Match: *" syntax is
valid and also receives a "304 Not Modified" response (RFC 7434#4.3.2).
This resolves a part of GitHub issue #821 .
2020-10-22 16:10:20 +02:00
..
2020-06-11 10:18:59 +02:00
2020-06-11 10:18:59 +02:00
2020-06-11 10:18:59 +02:00
2020-06-11 10:18:57 +02:00
2020-06-29 14:26:05 +02:00
2020-06-11 10:18:59 +02:00
2020-06-11 10:18:59 +02:00
2020-06-11 10:18:59 +02:00
2020-10-22 16:10:20 +02:00
2020-06-11 10:18:59 +02:00
2020-08-07 14:20:07 +02:00
2020-06-11 10:18:57 +02:00
2020-06-14 08:08:13 +02:00
2020-07-05 21:32:47 +02:00
2020-06-11 10:18:59 +02:00
2020-10-17 18:51:41 +02:00
2020-10-09 11:27:30 +02:00
2020-06-11 10:18:59 +02:00
2020-06-11 10:18:59 +02:00
2020-06-11 10:18:56 +02:00
2020-09-12 13:11:27 +02:00
2020-06-11 10:18:57 +02:00
2020-06-11 10:18:57 +02:00
2020-09-16 22:08:08 +02:00
2020-06-11 10:18:59 +02:00
2020-10-07 17:17:27 +02:00
2020-06-11 10:18:59 +02:00
2020-06-11 10:18:59 +02:00
2020-06-11 10:18:59 +02:00
2020-06-11 10:18:59 +02:00
2020-06-11 10:18:58 +02:00
2020-06-11 10:18:58 +02:00
2020-09-10 09:26:50 +02:00
2020-06-11 10:18:57 +02:00
2020-06-11 10:18:57 +02:00
2020-10-19 14:08:13 +02:00
2020-10-19 17:19:10 +02:00
2020-10-05 09:05:57 +02:00
2020-06-11 10:18:56 +02:00
2020-06-11 10:18:59 +02:00
2020-06-11 10:18:59 +02:00
2020-06-11 10:18:59 +02:00
2020-06-11 10:18:59 +02:00
2020-06-11 10:18:57 +02:00
2020-10-19 14:08:13 +02:00
2020-10-05 12:02:14 +02:00
2020-06-11 10:18:59 +02:00
2020-06-28 10:45:35 +02:00
2020-06-11 10:18:59 +02:00
2020-06-11 10:18:58 +02:00
2020-06-11 10:18:59 +02:00
2020-06-11 10:18:58 +02:00
2020-06-11 10:18:57 +02:00
2020-08-26 18:33:52 +02:00
2020-10-15 21:47:56 +02:00
2020-06-11 10:18:59 +02:00
2020-06-11 10:18:58 +02:00
2020-06-11 10:18:58 +02:00
2020-06-11 10:18:56 +02:00
2020-06-11 10:18:59 +02:00
2020-06-11 10:18:58 +02:00
2020-07-15 14:08:14 +02:00
2020-06-19 11:37:11 +02:00
2020-06-11 10:18:57 +02:00
2020-06-11 10:18:57 +02:00
2020-09-18 08:05:03 +02:00
2020-06-11 10:18:56 +02:00
2020-06-11 10:18:57 +02:00
2020-06-11 10:18:59 +02:00
2020-06-11 10:18:57 +02:00
2020-06-11 10:18:57 +02:00
2020-06-11 10:18:57 +02:00
2020-06-11 10:18:57 +02:00
2020-09-12 20:56:41 +02:00
2020-06-11 10:18:58 +02:00
2020-06-11 10:18:59 +02:00
2020-06-11 10:18:58 +02:00
2020-06-11 10:18:59 +02:00
2020-06-11 10:18:59 +02:00
2020-09-01 10:55:36 +02:00
2020-06-11 10:18:59 +02:00
2020-06-11 10:18:57 +02:00
2020-06-11 10:18:57 +02:00
2020-10-22 16:02:29 +02:00
2020-10-22 16:06:20 +02:00
2020-09-12 20:56:41 +02:00
2020-07-22 16:43:32 +02:00
2020-06-11 10:18:56 +02:00
2020-09-10 09:31:50 +02:00
2020-06-11 10:18:56 +02:00
2020-06-11 10:18:59 +02:00
2020-06-11 10:18:58 +02:00
2020-06-11 10:18:58 +02:00
2020-06-11 10:18:58 +02:00
2020-06-11 10:18:58 +02:00
2020-06-11 10:18:58 +02:00
2020-06-11 10:18:58 +02:00
2020-06-11 10:18:58 +02:00
2020-06-11 10:18:59 +02:00
2020-06-11 10:18:58 +02:00
2020-06-11 10:18:56 +02:00
2020-07-10 08:50:41 +02:00
2020-10-19 14:08:13 +02:00
2020-10-15 21:47:56 +02:00
2020-07-15 17:50:12 +02:00
2020-10-08 08:53:26 +02:00
2020-06-11 10:18:59 +02:00
2020-06-11 10:18:58 +02:00
2020-06-11 10:18:58 +02:00
2020-06-11 10:18:58 +02:00
2020-06-11 10:18:58 +02:00
2020-06-11 10:18:58 +02:00
2020-06-11 10:18:59 +02:00
2020-06-11 10:18:59 +02:00
2020-06-11 10:18:57 +02:00
2020-06-11 10:18:57 +02:00
2020-06-11 10:18:59 +02:00
2020-10-19 11:34:37 +02:00
2020-10-19 14:08:13 +02:00
2020-06-19 16:57:51 +02:00
2020-06-11 10:18:58 +02:00
2020-10-19 14:08:13 +02:00
2020-06-11 10:18:58 +02:00
2020-06-11 10:18:57 +02:00
2020-06-11 10:18:57 +02:00
2020-06-11 10:18:56 +02:00
2020-06-30 14:29:02 +02:00
2020-06-29 10:36:37 +02:00
2020-09-12 20:56:41 +02:00
2020-06-11 10:18:59 +02:00
2020-10-15 21:47:56 +02:00
2020-10-09 11:27:30 +02:00
2020-10-09 11:27:30 +02:00
2020-06-11 10:18:58 +02:00
2020-06-11 10:18:58 +02:00
2020-10-15 21:47:56 +02:00
2020-10-09 18:29:04 +02:00
2020-10-19 14:08:13 +02:00
2020-10-09 18:29:04 +02:00
2020-06-11 10:18:58 +02:00
2020-10-02 18:10:26 +02:00
2020-10-15 21:47:56 +02:00
2020-08-14 07:53:40 +02:00
2020-08-14 07:53:40 +02:00
2020-06-11 10:18:59 +02:00
2020-06-11 10:18:57 +02:00
2020-06-11 10:18:59 +02:00
2020-06-11 10:18:59 +02:00
2020-06-11 10:18:59 +02:00
2020-10-19 14:08:13 +02:00
2020-10-15 15:19:34 +02:00
2020-06-11 10:18:59 +02:00
2020-10-15 21:47:56 +02:00
2020-09-12 20:56:41 +02:00
2020-06-11 10:18:57 +02:00
2020-06-11 10:18:59 +02:00
2020-06-11 10:18:58 +02:00
2020-10-19 14:08:13 +02:00
2020-07-15 17:50:12 +02:00
2020-10-15 21:47:56 +02:00
2020-10-15 21:47:56 +02:00
2020-08-28 19:26:39 +02:00
2020-10-15 21:47:56 +02:00
2020-06-11 10:18:59 +02:00
2020-06-11 10:18:58 +02:00
2020-09-16 16:28:26 +02:00
2020-09-16 16:28:26 +02:00
2020-06-11 10:18:59 +02:00
2020-06-26 11:27:28 +02:00
2020-10-20 18:25:46 +02:00
2020-07-06 19:08:03 +02:00
2020-06-11 10:18:57 +02:00
2020-10-05 12:02:14 +02:00
2020-10-05 12:02:14 +02:00
2020-10-19 14:08:13 +02:00
2020-06-11 10:18:59 +02:00
2020-06-11 10:18:58 +02:00
2020-07-15 14:08:14 +02:00
2020-07-30 09:31:09 +02:00
2020-06-11 10:18:58 +02:00
2020-07-01 16:35:49 +02:00
2020-10-19 14:08:13 +02:00
2020-06-11 10:18:58 +02:00
2020-06-26 11:27:28 +02:00
2020-06-11 10:18:59 +02:00
2020-10-19 14:08:13 +02:00
2020-10-16 16:53:46 +02:00
2020-06-11 10:18:57 +02:00
2020-06-11 10:18:56 +02:00
2020-06-29 10:36:37 +02:00
2020-06-29 09:57:23 +02:00
2020-10-01 17:24:14 +02:00
2020-09-16 22:08:08 +02:00
2020-06-11 10:18:59 +02:00
2020-09-10 09:35:54 +02:00
2020-06-11 10:18:59 +02:00
2020-06-11 10:18:58 +02:00
2020-06-11 10:18:59 +02:00
2020-06-11 10:18:59 +02:00
2020-07-07 16:38:51 +02:00
2020-06-11 10:18:57 +02:00
2020-06-11 10:18:59 +02:00