Revert "Update to 7.40.1"
[platform/upstream/curl.git] / tests / data / test206
index dbe95e9..902d0a6 100644 (file)
@@ -12,14 +12,20 @@ HTTP proxy Digest auth
 
 # Server-side
 <reply>
+<servercmd>
+connection-monitor
+auth_required
+</servercmd>
+
 
 # this is returned first since we get no proxy-auth
-<data>
+<connect>
 HTTP/1.1 407 Authorization Required to proxy me my dear\r
 Proxy-Authenticate: Digest realm="weirdorealm", nonce="12345"\r
+Content-Length: 33\r
 \r
 And you should ignore this data.
-</data>
+</connect>
 
 # this is returned when we get a GET!
 <data2>
@@ -34,16 +40,16 @@ daniel
 </data2>
 
 # then this is returned when we get proxy-auth
-<data1000>
+<connect1000>
 HTTP/1.1 200 OK swsbounce\r
 Server: no
 \r
-Nice proxy auth sir!
-</data1000>
+</connect1000>
 
 <datacheck>
 HTTP/1.1 407 Authorization Required to proxy me my dear\r
 Proxy-Authenticate: Digest realm="weirdorealm", nonce="12345"\r
+Content-Length: 33\r
 \r
 HTTP/1.1 200 OK swsbounce\r
 Server: no
@@ -71,7 +77,7 @@ crypto
 HTTP proxy CONNECT auth Digest
  </name>
  <command>
-http://test.remote.server.com:206/path/2060002 --proxy http://%HOSTIP:%HTTPPORT --proxy-user silly:person --proxy-digest --proxytunnel
+http://test.remote.haxx.se.206:8990/path/2060002 --proxy http://%HOSTIP:%HTTPPORT --proxy-user silly:person --proxy-digest --proxytunnel
 </command>
 </client>
 
@@ -81,20 +87,21 @@ http://test.remote.server.com:206/path/2060002 --proxy http://%HOSTIP:%HTTPPORT
 ^User-Agent: curl/.*
 </strip>
 <protocol>
-CONNECT test.remote.server.com:206 HTTP/1.0\r
-Host: test.remote.server.com:206\r
+CONNECT test.remote.haxx.se.206:8990 HTTP/1.1\r
+Host: test.remote.haxx.se.206:8990\r
 Proxy-Connection: Keep-Alive\r
 \r
-CONNECT test.remote.server.com:206 HTTP/1.0\r
-Host: test.remote.server.com:206\r
-Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="test.remote.server.com:206", response="5059a96c954981ceb94e17d667c8d3f8"\r
+CONNECT test.remote.haxx.se.206:8990 HTTP/1.1\r
+Host: test.remote.haxx.se.206:8990\r
+Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="test.remote.haxx.se.206:8990", response="003e36decb4dbf6366b3ecb9b87c24ec"\r
 Proxy-Connection: Keep-Alive\r
 \r
 GET /path/2060002 HTTP/1.1\r
 User-Agent: curl/7.12.3-CVS (i686-pc-linux-gnu) libcurl/7.12.3-CVS OpenSSL/0.9.6b zlib/1.1.4\r
-Host: test.remote.server.com:206\r
+Host: test.remote.haxx.se.206:8990\r
 Accept: */*\r
 \r
+[DISCONNECT]
 </protocol>
 </verify>
 </testcase>