adjusted to work with the HTTP 1.1-speaking libcurl
authorDaniel Stenberg <daniel@haxx.se>
Mon, 12 Mar 2001 12:45:12 +0000 (12:45 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 12 Mar 2001 12:45:12 +0000 (12:45 +0000)
tests/data/command26.txt
tests/data/name25.txt
tests/data/prot26.txt
tests/data/reply25.txt
tests/data/reply26.txt
tests/data/reply31.txt
tests/data/reply310001.txt
tests/data/reply32.txt
tests/data/reply320001.txt
tests/data/stdout27.txt

index 4b591be..11c47f7 100644 (file)
@@ -1,4 +1,4 @@
-http://%HOSTIP:%HOSTPORT/want/25 -o - -o -
+http://%HOSTIP:%HOSTPORT/want/26 -o - -o -
 
 
 
index e63b48c..b02c8e7 100644 (file)
@@ -1 +1 @@
-looping HTTP Location: following with --max-redirs
+looping HTTP Location: following with --max-redirs, no persistance
index d99b086..be38e7d 100644 (file)
@@ -1,4 +1,4 @@
-GET /want/25 HTTP/1.1\r
+GET /want/26 HTTP/1.1\r
 User-Agent: curl/7.6-pre1 (sparc-sun-solaris2.7) libcurl 7.5.2 (SSL 0.9.6) (krb4 enabled)\r
 Host: 127.0.0.1:8999\r
 Pragma: no-cache\r
index 5839f8d..6a816bf 100644 (file)
@@ -1,5 +1,7 @@
 HTTP/1.1 301 This is a weirdo text message
 Server: test-server/fake
 Location: data/reply/25
+Content-Length: 32
+Connection: close
 
 Redirect to the same URL again!
index 5839f8d..f065ac3 100644 (file)
@@ -1,5 +1,6 @@
 HTTP/1.1 301 This is a weirdo text message
 Server: test-server/fake
 Location: data/reply/25
+Connection: close
 
 Redirect to the same URL again!
index 7794fd3..50e03a4 100644 (file)
@@ -1,6 +1,7 @@
 HTTP/1.1 301 Moved Permanently
 Server: fake
 Location: /moo/moo/moo/310002
+Connection: close
 
 No contents
 
index ea3c76a..6e17b66 100644 (file)
@@ -1,6 +1,7 @@
 HTTP/1.1 301 Moved Permanently
 Server: fake
 Location: /moo/moo/moo/310002
+Connection: close
 
 HTTP/1.1 200 Followed here fine
 Date: Thu, 09 Nov 2010 14:49:00 GMT
index 8f8cf85..9e5e693 100644 (file)
@@ -1,6 +1,7 @@
 HTTP/1.1 303 See Other
 Server: fake
 Location: /moo/moo/moo/320002
+Connection: close
 
 This Location should be fetched with a GET!
 
index e444cfc..d460529 100644 (file)
@@ -1,6 +1,7 @@
 HTTP/1.1 303 See Other
 Server: fake
 Location: /moo/moo/moo/320002
+Connection: close
 
 HTTP/1.1 200 Followed here fine
 Date: Thu, 09 Nov 2010 14:49:00 GMT
index 6c6fe7e..12af89c 100644 (file)
@@ -1,6 +1,8 @@
 HTTP/1.1 301 This is a weirdo text message
 Server: test-server/fake
 Location: data/reply/25
+Content-Length: 32
+Connection: close
 
 Redirect to the same URL again!
 HTTP/1.1 404 BAD BOY