HTTP tests: use CRLF as header seperator according to RFC 2616
Changes LF to CRLF and disables automatic output conversion.
This commit is contained in:
@@ -10,14 +10,14 @@ RETR
|
||||
<reply>
|
||||
# file1386 contents...
|
||||
<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=name1386; 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=name1386; charset=funny; option=strange
|
||||
|
||||
MOOOO
|
||||
</data>
|
||||
</reply>
|
||||
@@ -52,19 +52,19 @@ RETR file1386
|
||||
QUIT
|
||||
</protocol>
|
||||
|
||||
<file1 name="log/download1386" 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=name1386; charset=funny; option=strange
|
||||
|
||||
<file1 name="log/download1386">
|
||||
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=name1386; charset=funny; option=strange
|
||||
|
||||
MOOOO
|
||||
</file1>
|
||||
|
||||
<file2 name="log/stdout1386" mode="text">
|
||||
<file2 name="log/stdout1386">
|
||||
</file2>
|
||||
|
||||
</verify>
|
||||
|
||||
Reference in New Issue
Block a user