Revert "Update to 7.44.0"
[platform/upstream/curl.git] / tests / data / test257
index 1020c61..45642d5 100644 (file)
@@ -3,10 +3,13 @@
 <keywords>
 HTTP
 HTTP GET
+HTTP proxy
+HTTP Basic auth
 followlocation
 netrc
 </keywords>
 </info>
+
 # Server-side
 <reply>
 <data>
@@ -61,9 +64,6 @@ If this is received, the location following worked
 
 # Client-side
 <client>
-<features>
-netrc_debug
-</features>
 <server>
 http
 </server>
@@ -71,11 +71,11 @@ http
 HTTP Location: following with --netrc-optional
  </name>
  <command>
-http://supersite.com/want/257 -L -x http://%HOSTIP:%HTTPPORT --netrc-optional
+http://supersite.com/want/257 -L -x http://%HOSTIP:%HTTPPORT --netrc-optional --netrc-file log/netrc257
 </command>
 
 # netrc auth for two out of three sites:
-<file name="log/netrc">
+<file name="log/netrc257">
 machine supersite.com login user1 password passwd1
 machine anotherone.com login user2 password passwd2
 </file>
@@ -91,7 +91,6 @@ GET http://supersite.com/want/257 HTTP/1.1
 Authorization: Basic dXNlcjE6cGFzc3dkMQ==\r
 User-Agent: curl/7.14.0-CVS (i686-pc-linux-gnu) libcurl/7.14.0-CVS OpenSSL/0.9.7e zlib/1.2.2 libidn/0.5.13\r
 Host: supersite.com\r
-Pragma: no-cache\r
 Accept: */*\r
 Proxy-Connection: Keep-Alive\r
 \r
@@ -99,14 +98,12 @@ GET http://anotherone.com/2570002 HTTP/1.1
 Authorization: Basic dXNlcjI6cGFzc3dkMg==\r
 User-Agent: curl/7.14.0-CVS (i686-pc-linux-gnu) libcurl/7.14.0-CVS OpenSSL/0.9.7e zlib/1.2.2 libidn/0.5.13
 Host: anotherone.com\r
-Pragma: no-cache\r
 Accept: */*\r
 Proxy-Connection: Keep-Alive\r
 \r
 GET http://athird.com/2570003 HTTP/1.1\r
 User-Agent: curl/7.14.0-CVS (i686-pc-linux-gnu) libcurl/7.14.0-CVS OpenSSL/0.9.7e zlib/1.2.2 libidn/0.5.13
 Host: athird.com\r
-Pragma: no-cache\r
 Accept: */*\r
 Proxy-Connection: Keep-Alive\r
 \r