Imported Upstream version 7.59.0
[platform/upstream/curl.git] / tests / data / test178
index 7481467..90c0b31 100644 (file)
@@ -18,6 +18,10 @@ Funny-head: yesyes
 
 moooooooooooo
 </data>
+<datacheck>
+HTTP/1.1 200 OK swsclose
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+</datacheck>
 </reply>
 
 #
@@ -27,7 +31,7 @@ moooooooooooo
 http
 </server>
  <name>
-simple HTTP GET with negative Content-Length
+HTTP response with negative Content-Length
  </name>
  <command>
 http://%HOSTIP:%HTTPPORT/178
@@ -41,10 +45,13 @@ http://%HOSTIP:%HTTPPORT/178
 ^User-Agent:.*
 </strip>
 <protocol>
-GET /178 HTTP/1.1\r
-Host: %HOSTIP:%HTTPPORT\r
-Accept: */*\r
-\r
+GET /178 HTTP/1.1
+Host: %HOSTIP:%HTTPPORT
+Accept: */*
+
 </protocol>
+<errorcode>
+8
+</errorcode>
 </verify>
 </testcase>