diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-08-20 00:34:44 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-08-24 10:02:41 +0200 |
commit | 98c94596f5928840177b6bd3c7b0f0dd03a431af (patch) | |
tree | 280a4d57dffd2222c39c9e481b6bbbbd5adec397 /tests/data/test339 | |
parent | bc3b5bcf87f9fe16514f8cfd84cded24a367ac95 (diff) | |
download | curl-98c94596f5928840177b6bd3c7b0f0dd03a431af.tar.gz |
etag: save and use the full received contents
... which makes it support weak tags and non-standard etags too!
Added test case 347 to verify blank incoming ETag:
Fixes #5610
Closes #5833
Diffstat (limited to 'tests/data/test339')
-rw-r--r-- | tests/data/test339 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/data/test339 b/tests/data/test339 index cd6e49892..8da212e55 100644 --- a/tests/data/test339 +++ b/tests/data/test339 @@ -14,7 +14,7 @@ Server: fakeit/0.9 fakeitbad/1.0 Transfer-Encoding: chunked
Trailer: chunky-trailer
Connection: mooo
-ETag: "asdf"
+ETag: W/"asdf"
40 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa @@ -56,7 +56,7 @@ Accept: */* </protocol> <file name="log/etag339"> -asdf +W/"asdf" </file> </verify> |