summaryrefslogtreecommitdiff
path: root/tests/libtest
diff options
context:
space:
mode:
authorFabian Keil <fk@fabiankeil.de>2020-02-28 15:00:03 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-02-09 00:28:19 +0100
commit124198631b042830ba8019bd7842de92c0853fc5 (patch)
tree925442e88b9861d6697b7aa884cc281ee7a52465 /tests/libtest
parent0c51036eb6ddef50a1730bdd33a4388b35343125 (diff)
downloadcurl-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/libtest')
-rw-r--r--tests/libtest/lib556.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libtest/lib556.c b/tests/libtest/lib556.c
index f01fa71d4..c49aa8a70 100644
--- a/tests/libtest/lib556.c
+++ b/tests/libtest/lib556.c
@@ -64,10 +64,10 @@ int test(char *URL)
#ifdef CURL_DOES_CONVERSIONS
/* ASCII representation with escape sequences for non-ASCII platforms */
"\x47\x45\x54\x20\x2f\x35\x35\x36\x20\x48\x54\x54\x50\x2f\x31\x2e"
- "\x32\x0d\x0a\x48\x6f\x73\x74\x3a\x20\x6e\x69\x6e\x6a\x61\x0d\x0a"
+ "\x31\x0d\x0a\x48\x6f\x73\x74\x3a\x20\x6e\x69\x6e\x6a\x61\x0d\x0a"
"\x0d\x0a";
#else
- "GET /556 HTTP/1.2\r\n"
+ "GET /556 HTTP/1.1\r\n"
"Host: ninja\r\n\r\n";
#endif
size_t iolen = 0;