Imported Upstream version 7.59.0
[platform/upstream/curl.git] / tests / data / test510
index 5ba0a7f..880b0f6 100644 (file)
@@ -3,6 +3,7 @@
 <keywords>
 HTTP
 HTTP POST
+chunked Transfer-Encoding
 </keywords>
 </info>
 
@@ -10,12 +11,12 @@ HTTP POST
 # Server-side
 <reply>
 <data>
-HTTP/1.1 200 OK\r
-Date: Thu, 09 Nov 2010 14:49:00 GMT\r
-Server: test-server/fake swsclose\r
-Connection: close\r
-Content-Type: text/html\r
-\r
+HTTP/1.1 200 OK
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Server: test-server/fake swsclose
+Connection: close
+Content-Type: text/html
+
 hello
 </data>
 </reply>
@@ -42,23 +43,23 @@ http://%HOSTIP:%HTTPPORT/510
 # Verify data after the test has been "shot"
 <verify>
 <protocol>
-POST /510 HTTP/1.1\r
-Host: %HOSTIP:%HTTPPORT\r
-Accept: */*\r
-Transfer-Encoding: chunked\r
-Content-Type: application/x-www-form-urlencoded\r
-Expect: 100-continue\r
-\r
-3\r
-one\r
-3\r
-two\r
-5\r
-three\r
-1d\r
-and a final longer crap: four\r
-0\r
-\r
+POST /510 HTTP/1.1
+Host: %HOSTIP:%HTTPPORT
+Accept: */*
+Transfer-Encoding: chunked
+Content-Type: application/x-www-form-urlencoded
+Expect: 100-continue
+
+3
+one
+3
+two
+5
+three
+1d
+and a final longer crap: four
+0
+
 </protocol>
 </verify>
 </testcase>