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,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=name1340; 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=name1340; charset=funny; option=strange
|
||||
|
||||
12345
|
||||
</data>
|
||||
</reply>
|
||||
@@ -57,22 +57,22 @@ Accept: */*
|
||||
|
||||
</protocol>
|
||||
|
||||
<file1 name="log/name1340" mode="text">
|
||||
<file1 name="log/name1340">
|
||||
12345
|
||||
</file1>
|
||||
|
||||
<file2 name="log/heads1340" 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=name1340; charset=funny; option=strange
|
||||
|
||||
<file2 name="log/heads1340">
|
||||
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=name1340; charset=funny; option=strange
|
||||
|
||||
</file2>
|
||||
|
||||
<file3 name="log/stdout1340" mode="text">
|
||||
<file3 name="log/stdout1340">
|
||||
curl: Saved to filename '%PWD/log/name1340'
|
||||
</file3>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user