From 2c49f2e3db2a68c4c68892b8b945de6ae812cc72 Mon Sep 17 00:00:00 2001 From: Marc Hoersken Date: Sat, 1 Feb 2014 13:47:00 +0100 Subject: HTTP tests: use CRLF as header seperator according to RFC 2616 --- tests/data/test1029 | 22 +++++++++++----------- tests/data/test1098 | 26 +++++++++++++------------- 2 files changed, 24 insertions(+), 24 deletions(-) (limited to 'tests') diff --git a/tests/data/test1029 b/tests/data/test1029 index 9c2bc5ff0..2ffc7c64a 100644 --- a/tests/data/test1029 +++ b/tests/data/test1029 @@ -12,11 +12,11 @@ followlocation # Server-side -HTTP/1.1 301 This is a weirdo text message swsclose -Location: data/10290002.txt?coolsite=yes -Content-Length: 62 -Connection: close - +HTTP/1.1 301 This is a weirdo text message swsclose +Location: data/10290002.txt?coolsite=yes +Content-Length: 62 +Connection: close + This server reply is for testing a simple Location: following @@ -45,12 +45,12 @@ Host: %HOSTIP:%HTTPPORT Accept: */* - -HTTP/1.1 301 This is a weirdo text message swsclose -Location: data/10290002.txt?coolsite=yes -Content-Length: 62 -Connection: close - + +HTTP/1.1 301 This is a weirdo text message swsclose +Location: data/10290002.txt?coolsite=yes +Content-Length: 62 +Connection: close + This server reply is for testing a simple Location: following http://%HOSTIP:%HTTPPORT/we/want/our/data/10290002.txt?coolsite=yes diff --git a/tests/data/test1098 b/tests/data/test1098 index b5c45cbc9..980564810 100644 --- a/tests/data/test1098 +++ b/tests/data/test1098 @@ -11,10 +11,10 @@ CURLOPT_PROXY # Server-side -HTTP/1.1 200 OK -Date: Thu, 09 Nov 2010 14:49:00 GMT -Content-Length: 6 - +HTTP/1.1 200 OK +Date: Thu, 09 Nov 2010 14:49:00 GMT +Content-Length: 6 + hello @@ -57,16 +57,16 @@ Accept: */* Proxy-Connection: Keep-Alive - -HTTP/1.1 200 OK -Date: Thu, 09 Nov 2010 14:49:00 GMT -Content-Length: 6 - + +HTTP/1.1 200 OK +Date: Thu, 09 Nov 2010 14:49:00 GMT +Content-Length: 6 + hello -HTTP/1.1 200 OK -Date: Thu, 09 Nov 2010 14:49:00 GMT -Content-Length: 6 - +HTTP/1.1 200 OK +Date: Thu, 09 Nov 2010 14:49:00 GMT +Content-Length: 6 + hello -- cgit v1.2.3