]> granicus.if.org Git - curl/commitdiff
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 4b591be202de9a8e4ec9fa3d9a80e78b0290f93b..11c47f7a189a1b9ac3e338313ce1060e6677faea 100644 (file)
@@ -1,4 +1,4 @@
-http://%HOSTIP:%HOSTPORT/want/25 -o - -o -
+http://%HOSTIP:%HOSTPORT/want/26 -o - -o -
 
 
 
index e63b48ce602eef2992d4082cf2af0068e2ca1c99..b02c8e7e51a49925f201a78a208e38b89de0a525 100644 (file)
@@ -1 +1 @@
-looping HTTP Location: following with --max-redirs
+looping HTTP Location: following with --max-redirs, no persistance
index d99b086edb251b242c66cdd184479e2795ba6018..be38e7dd78f9dc5f26fc36b30e1f25e89eb78ff0 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 5839f8d3c20df5b56a1364607bdc737f3ce844c4..6a816bf4b8a5233393760b37741b172fa8ab6167 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 5839f8d3c20df5b56a1364607bdc737f3ce844c4..f065ac3746d6470099ee908e6ff7ab329f348b7f 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 7794fd3cebad75fee5e1c8c35a391033d26455f3..50e03a4e7644088cf02c3412ba6b2e1e87c2ba44 100644 (file)
@@ -1,6 +1,7 @@
 HTTP/1.1 301 Moved Permanently
 Server: fake
 Location: /moo/moo/moo/310002
+Connection: close
 
 No contents
 
index ea3c76a7c1ee30d03a62b89d9fdde937130928c0..6e17b66b1a2fcf2186c6de952b2a107693cf5ce1 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 8f8cf85224f90a8537533078471d8d961985f444..9e5e693d306aa1261e5b022d90f4bbd6a3aa94d8 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 e444cfc1708696796ded743b547a6a55d66e87c3..d4605292eea2ec5e1e5e3be9bb22c3885f0c8e9a 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 6c6fe7ec25c2708ca2e7fb1a954e24de2e924481..12af89c72d8a4d65bfba27a8f0099540109ca151 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