HTTP tests: use CRLF as header seperator according to RFC 2616

Updates the test suite to handle binary-mode header output.
This commit is contained in:
Marc Hoersken
2014-02-01 14:03:55 +01:00
parent 91c13d759a
commit 0a568867c0
15 changed files with 300 additions and 300 deletions

View File

@@ -10,13 +10,13 @@ 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
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
12345
</data>
</reply>
@@ -51,21 +51,21 @@ Accept: */*
</protocol>
<file1 name="log/outfile1368" mode="text">
<file1 name="log/outfile1368">
12345
</file1>
<file2 name="log/heads1368" 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
<file2 name="log/heads1368">
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
</file2>
<file3 name="log/stdout1368" mode="text">
<file3 name="log/stdout1368">
</file3>
</verify>