From 0a568867c0ee0eec283ce282f707e7a1338dcc44 Mon Sep 17 00:00:00 2001 From: Marc Hoersken Date: Sat, 1 Feb 2014 14:03:55 +0100 Subject: HTTP tests: use CRLF as header seperator according to RFC 2616 Updates the test suite to handle binary-mode header output. --- tests/data/test1387 | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'tests/data/test1387') diff --git a/tests/data/test1387 b/tests/data/test1387 index 85ea948d3..2b6c3fcb9 100644 --- a/tests/data/test1387 +++ b/tests/data/test1387 @@ -10,14 +10,14 @@ RETR # file1387 contents... -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=name1387; 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=name1387; charset=funny; option=strange + MOOOO @@ -53,14 +53,14 @@ QUIT -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=name1387; 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=name1387; charset=funny; option=strange + MOOOO @@ -76,8 +76,8 @@ MOOOO 250 CWD command successful. 229 Entering Passive Mode (stripped) 200 I modify TYPE as you wanted -213 214 -150 Binary data connection for 1387 () (214 bytes). +213 222 +150 Binary data connection for 1387 () (222 bytes). 226 File transfer complete -- cgit v1.2.3