Base code merged to SPIN 2.4
[platform/upstream/curl.git] / tests / data / test168
index 80f37ac..e46b726 100644 (file)
@@ -1,3 +1,14 @@
+<testcase>
+<info>
+<keywords>
+HTTP
+HTTP GET
+HTTP proxy
+HTTP proxy Digest auth
+HTTP Digest auth
+</keywords>
+</info>
+
 # Server-side
 <reply>
 
@@ -20,6 +31,7 @@ you should ignore this data too
 <data1001>
 HTTP/1.1 200 OK swsclose\r
 Server: no
+Content-Length: 15
 \r
 Nice auth sir!
 </data1001>
@@ -33,6 +45,7 @@ WWW-Authenticate: Digest realm="realmweirdo", nonce="123456"
 \r
 HTTP/1.1 200 OK swsclose\r
 Server: no
+Content-Length: 15
 \r
 Nice auth sir!
 </datacheck>
@@ -43,6 +56,10 @@ Nice auth sir!
 <server>
 http
 </server>
+<features>
+!SSPI
+crypto
+</features>
  <name>
 HTTP with proxy-requiring-Digest to site-requiring-Digest
  </name>
@@ -60,23 +77,24 @@ http://data.from.server.requiring.digest.hohoho.com/168 --proxy http://%HOSTIP:%
 GET http://data.from.server.requiring.digest.hohoho.com/168 HTTP/1.1\r
 User-Agent: curl/7.12.0-CVS (i686-pc-linux-gnu) libcurl/7.12.0-CVS OpenSSL/0.9.6b zlib/1.1.4 c-ares/1.2.0 libidn/0.4.3\r
 Host: data.from.server.requiring.digest.hohoho.com\r
-Pragma: no-cache\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 GET http://data.from.server.requiring.digest.hohoho.com/168 HTTP/1.1\r
 Proxy-Authorization: Digest username="foo", realm="weirdorealm", nonce="12345", uri="/168", response="fb8608e00ad9239a3dedb14bc8575976"\r
 User-Agent: curl/7.12.0-CVS (i686-pc-linux-gnu) libcurl/7.12.0-CVS OpenSSL/0.9.6b zlib/1.1.4 c-ares/1.2.0 libidn/0.4.3\r
 Host: data.from.server.requiring.digest.hohoho.com\r
-Pragma: no-cache\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 GET http://data.from.server.requiring.digest.hohoho.com/168 HTTP/1.1\r
 Proxy-Authorization: Digest username="foo", realm="weirdorealm", nonce="12345", uri="/168", response="fb8608e00ad9239a3dedb14bc8575976"\r
 Authorization: Digest username="digest", realm="realmweirdo", nonce="123456", uri="/168", response="ca87f2d768a231e2d637a55698d5c416"\r
 User-Agent: curl/7.12.0-CVS (i686-pc-linux-gnu) libcurl/7.12.0-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.3\r
 Host: data.from.server.requiring.digest.hohoho.com\r
-Pragma: no-cache\r
 Accept: */*\r
+Proxy-Connection: Keep-Alive\r
 \r
 </protocol>
 </verify>
+</testcase>