Imported Upstream version 7.59.0
[platform/upstream/curl.git] / tests / data / test510
index f1f1a3c..880b0f6 100644 (file)
@@ -3,13 +3,14 @@
 <keywords>
 HTTP
 HTTP POST
+chunked Transfer-Encoding
 </keywords>
 </info>
 
 #
 # Server-side
 <reply>
-<data mode="text">
+<data>
 HTTP/1.1 200 OK
 Date: Thu, 09 Nov 2010 14:49:00 GMT
 Server: test-server/fake swsclose
@@ -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>