Revert "Update to 7.40.1"
[platform/upstream/curl.git] / tests / data / test33
index f255bc4..82cf80b 100644 (file)
@@ -1,12 +1,25 @@
+<testcase>
+<info>
+<keywords>
+HTTP
+HTTP PUT
+Resume
+Content-Range
+</keywords>
+</info>
 # Server-side
 <reply>
 <data>
+HTTP/1.1 OK swsclose
 
 </data>
 </reply>
 
 # Client-side
 <client>
+<server>
+http
+</server>
  <name>
 HTTP PUT with resume
  </name>
@@ -23,9 +36,9 @@ HTTP PUT with resume
 012345678
 </file>
  <command>
-http://%HOSTIP:%HOSTPORT/33 -Tlog/test33.txt -C 50
+http://%HOSTIP:%HTTPPORT/33 -Tlog/test33.txt -C 50
 </command>
-</test>
+</client>
 
 # Verify data after the test has been "shot"
 <verify>
@@ -36,10 +49,10 @@ http://%HOSTIP:%HOSTPORT/33 -Tlog/test33.txt -C 50
 PUT /33 HTTP/1.1\r
 Content-Range: bytes 50-99/100\r
 User-Agent: curl/7.6 (sparc-sun-solaris2.7) libcurl 7.6-pre4 (SSL 0.9.6) (krb4 enabled)\r
-Host: 127.0.0.1:8999\r
-Pragma: no-cache\r
-Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*\r
+Host: %HOSTIP:%HTTPPORT\r
+Accept: */*\r
 Content-Length: 50\r
+Expect: 100-continue\r
 \r
 012345678
 012345678
@@ -48,3 +61,4 @@ Content-Length: 50
 012345678
 </protocol>
 </verify>
+</testcase>