summaryrefslogtreecommitdiff
path: root/tests/data/test339
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-08-20 00:34:44 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-08-24 10:02:41 +0200
commit98c94596f5928840177b6bd3c7b0f0dd03a431af (patch)
tree280a4d57dffd2222c39c9e481b6bbbbd5adec397 /tests/data/test339
parentbc3b5bcf87f9fe16514f8cfd84cded24a367ac95 (diff)
downloadcurl-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/test3394
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>