diff options
author | Fabian Keil <fk@fabiankeil.de> | 2020-02-28 15:00:03 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-02-09 00:28:19 +0100 |
commit | 124198631b042830ba8019bd7842de92c0853fc5 (patch) | |
tree | 925442e88b9861d6697b7aa884cc281ee7a52465 /tests/data/test1031 | |
parent | 0c51036eb6ddef50a1730bdd33a4388b35343125 (diff) | |
download | curl-124198631b042830ba8019bd7842de92c0853fc5.tar.gz |
tests: fixup several tests
missing CRs and modified %hostip
lib556/test556: use a real HTTP version to make test reuse more convenient
make sure the weekday in Date headers matches the date
test61: replace stray "^M" (5e 4d) at the end of a cookie with a '^M' (0d)
Gets the test working with external proxies like Privoxy again.
Closes #6463
Diffstat (limited to 'tests/data/test1031')
-rw-r--r-- | tests/data/test1031 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/data/test1031 b/tests/data/test1031 index b12785a0c..c139b356c 100644 --- a/tests/data/test1031 +++ b/tests/data/test1031 @@ -10,7 +10,7 @@ followlocation <reply> <data> HTTP/1.1 301 This is a weirdo text message swsclose -Date: Thu, 09 Nov 2010 14:49:00 GMT +Date: Tue, 09 Nov 2010 14:49:00 GMT Server: test-server/fake Location: ?coolsite=yes/10310002.txt Connection: close @@ -20,7 +20,7 @@ This server reply is for testing a simple Location: following </data> <data2> HTTP/1.1 200 Followed here fine swsclose -Date: Thu, 09 Nov 2010 14:49:00 GMT +Date: Tue, 09 Nov 2010 14:49:00 GMT Server: test-server/fake Content-Length: 52 @@ -29,13 +29,13 @@ If this is received, the location following worked </data2> <datacheck> HTTP/1.1 301 This is a weirdo text message swsclose -Date: Thu, 09 Nov 2010 14:49:00 GMT +Date: Tue, 09 Nov 2010 14:49:00 GMT Server: test-server/fake Location: ?coolsite=yes/10310002.txt Connection: close HTTP/1.1 200 Followed here fine swsclose -Date: Thu, 09 Nov 2010 14:49:00 GMT +Date: Tue, 09 Nov 2010 14:49:00 GMT Server: test-server/fake Content-Length: 52 |