aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorMarc Hoersken <info@marc-hoersken.de>2014-02-01 13:47:00 +0100
committerMarc Hoersken <info@marc-hoersken.de>2014-02-01 13:47:00 +0100
commit2c49f2e3db2a68c4c68892b8b945de6ae812cc72 (patch)
tree995cefe63a00c1ce9cd94227b904b3ea068c8cb4 /tests/data
parent9f42205dccda980b20df498b5ede7c51422d5567 (diff)
HTTP tests: use CRLF as header seperator according to RFC 2616
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/test102922
-rw-r--r--tests/data/test109826
2 files changed, 24 insertions, 24 deletions
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
<reply>
<data nocheck="yes">
-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
</data>
</reply>
@@ -45,12 +45,12 @@ Host: %HOSTIP:%HTTPPORT
Accept: */*
</protocol>
-<stdout mode="text">
-HTTP/1.1 301 This is a weirdo text message swsclose
-Location: data/10290002.txt?coolsite=yes
-Content-Length: 62
-Connection: close
-
+<stdout>
+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
</stdout>
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
<reply>
<data nocheck="yes">
-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
</data>
@@ -57,16 +57,16 @@ Accept: */*
Proxy-Connection: Keep-Alive
</protocol>
-<stdout mode="text">
-HTTP/1.1 200 OK
-Date: Thu, 09 Nov 2010 14:49:00 GMT
-Content-Length: 6
-
+<stdout>
+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
</stdout>
</verify>