aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test1370
diff options
context:
space:
mode:
authorMarc Hoersken <info@marc-hoersken.de>2014-02-01 14:03:55 +0100
committerMarc Hoersken <info@marc-hoersken.de>2014-02-14 20:12:28 +0100
commit0a568867c0ee0eec283ce282f707e7a1338dcc44 (patch)
treee6d36d06c772bbf493633d2be72ccae29351ceef /tests/data/test1370
parent91c13d759a69bfef7cf40b68cdba1992ee32b3bc (diff)
downloadgnurl-0a568867c0ee0eec283ce282f707e7a1338dcc44.tar.gz
gnurl-0a568867c0ee0eec283ce282f707e7a1338dcc44.tar.bz2
gnurl-0a568867c0ee0eec283ce282f707e7a1338dcc44.zip
HTTP tests: use CRLF as header seperator according to RFC 2616
Updates the test suite to handle binary-mode header output.
Diffstat (limited to 'tests/data/test1370')
-rw-r--r--tests/data/test137038
1 files changed, 19 insertions, 19 deletions
diff --git a/tests/data/test1370 b/tests/data/test1370
index 26b4b151b..d0abbdd68 100644
--- a/tests/data/test1370
+++ b/tests/data/test1370
@@ -10,14 +10,14 @@ HTTP GET
#
<reply>
<data nocheck="yes">
-HTTP/1.1 200 OK
-Date: Thu, 09 Nov 2010 14:49:00 GMT
-Server: test-server/fake
-Content-Length: 6
-Connection: close
-Content-Type: text/html
-Content-Disposition: filename=name1370; charset=funny; option=strange
-
+HTTP/1.1 200 OK
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Server: test-server/fake
+Content-Length: 6
+Connection: close
+Content-Type: text/html
+Content-Disposition: filename=name1370; charset=funny; option=strange
+
12345
</data>
</reply>
@@ -52,22 +52,22 @@ Accept: */*
</protocol>
-<file1 name="log/outfile1370" mode="text">
+<file1 name="log/outfile1370">
12345
</file1>
-<file2 name="log/heads1370" mode="text">
-HTTP/1.1 200 OK
-Date: Thu, 09 Nov 2010 14:49:00 GMT
-Server: test-server/fake
-Content-Length: 6
-Connection: close
-Content-Type: text/html
-Content-Disposition: filename=name1370; charset=funny; option=strange
-
+<file2 name="log/heads1370">
+HTTP/1.1 200 OK
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Server: test-server/fake
+Content-Length: 6
+Connection: close
+Content-Type: text/html
+Content-Disposition: filename=name1370; charset=funny; option=strange
+
</file2>
-<file3 name="log/stdout1370" mode="text">
+<file3 name="log/stdout1370">
</file3>
</verify>