Revert "Update to 7.40.1"
[platform/upstream/curl.git] / tests / data / test258
index 7b115ea..0d95dec 100644 (file)
@@ -1,3 +1,4 @@
+<testcase>
 <info>
 <keywords>
 HTTP
@@ -5,7 +6,9 @@ HTTP FORMPOST
 HTTP replaced headers
 HTTP proxy
 HTTP proxy Digest auth
+--proxy-anyauth
 </keywords>
+
 </info>
 # Server-side
 <reply>
@@ -52,11 +55,14 @@ ok
 <server>
 http
 </server>
+<features>
+crypto
+</features>
  <name>
 HTTP POST multipart without Expect: header using proxy anyauth (Digest)
  </name>
  <command>
--x http://%HOSTIP:%HTTPPORT http://remotehost:54321/we/want/258 -F name=daniel -F tool=curl -F file=@log/test258.txt -H 'Expect:' -U uuuser:pppassword --proxy-anyauth
+-x http://%HOSTIP:%HTTPPORT http://remotehost:54321/we/want/258 -F name=daniel -F tool=curl -F file=@log/test258.txt -H "Expect:" -U uuuser:pppassword --proxy-anyauth
 </command>
 # We create this file before the command is invoked!
 <file name="log/test258.txt">
@@ -75,8 +81,8 @@ bar
 POST http://remotehost:54321/we/want/258 HTTP/1.1\r
 User-Agent: curl/7.10.4 (i686-pc-linux-gnu) libcurl/7.10.4 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
 Host: remotehost:54321\r
-Pragma: no-cache\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 Content-Length: 409\r
 Content-Type: multipart/form-data; boundary=----------------------------7c633d5c27ce\r
 \r
@@ -101,8 +107,8 @@ POST http://remotehost:54321/we/want/258 HTTP/1.1
 User-Agent: curl/7.10.4 (i686-pc-linux-gnu) libcurl/7.10.4 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
 Proxy-Authorization: Digest username="uuuser", realm="many secrets", nonce="911", uri="/we/want/258", response="2501654ca391f0b5c8c12a1da77e34cd"\r
 Host: remotehost:54321\r
-Pragma: no-cache\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 Content-Length: 409\r
 Content-Type: multipart/form-data; boundary=----------------------------7c633d5c27ce\r
 \r
@@ -125,3 +131,4 @@ bar
 ------------------------------7c633d5c27ce--\r
 </protocol>
 </verify>
+</testcase>