Revert "Update to 7.40.1"
[platform/upstream/curl.git] / tests / data / test154
index b9b9649..89e2bd5 100644 (file)
@@ -1,3 +1,13 @@
+<testcase>
+<info>
+<keywords>
+HTTP
+HTTP PUT
+HTTP Digest auth
+--anyauth
+</keywords>
+</info>
+
 # Server-side
 <reply>
 <servercmd>
@@ -52,11 +62,14 @@ This IS the real page!
 <server>
 http
 </server>
+<features>
+crypto
+</features>
  <name>
 HTTP PUT with --anyauth authorization (picking Digest)
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/154 -T log/put154 -u testuser:testpass --anyauth
+http://%HOSTIP:%HTTPPORT/154 -T log/put154 -u testuser:testpass --anyauth
 </command>
 <file name="log/put154">
 This is data we upload with PUT
@@ -72,16 +85,16 @@ four is the number of lines
 ^User-Agent:.*
 </strip>
 <protocol>
-HEAD /154 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
-Pragma: no-cache\r
+PUT /154 HTTP/1.1\r
+Host: %HOSTIP:%HTTPPORT\r
 Accept: */*\r
+Content-Length: 85\r
+Expect: 100-continue\r
 \r
 PUT /154 HTTP/1.1\r
 Authorization: Digest username="testuser", realm="gimme all yer s3cr3ts", nonce="11223344", uri="/154", response="b71551e12d1c456e47d8388ecb2edeca"\r
 User-Agent: curl/7.10.5 (i686-pc-linux-gnu) libcurl/7.10.5 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
-Pragma: no-cache\r
+Host: %HOSTIP:%HTTPPORT\r
 Accept: */*\r
 Content-Length: 85\r
 Expect: 100-continue\r
@@ -92,3 +105,4 @@ line three
 four is the number of lines
 </protocol>
 </verify>
+</testcase>