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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user