aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-03-12 12:45:12 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-03-12 12:45:12 +0000
commit9ee14644a79ad8aeb2fd006539ff8559a6d61d6f (patch)
tree15b0cf308e1808da91608e4256820dfdcc350f2e /tests/data
parentc576e114b93fc669e2a386bcc0ea5870c7f03b39 (diff)
adjusted to work with the HTTP 1.1-speaking libcurl
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/command26.txt2
-rw-r--r--tests/data/name25.txt2
-rw-r--r--tests/data/prot26.txt2
-rw-r--r--tests/data/reply25.txt2
-rw-r--r--tests/data/reply26.txt1
-rw-r--r--tests/data/reply31.txt1
-rw-r--r--tests/data/reply310001.txt1
-rw-r--r--tests/data/reply32.txt1
-rw-r--r--tests/data/reply320001.txt1
-rw-r--r--tests/data/stdout27.txt2
10 files changed, 12 insertions, 3 deletions
diff --git a/tests/data/command26.txt b/tests/data/command26.txt
index 4b591be20..11c47f7a1 100644
--- a/tests/data/command26.txt
+++ b/tests/data/command26.txt
@@ -1,4 +1,4 @@
-http://%HOSTIP:%HOSTPORT/want/25 -o - -o -
+http://%HOSTIP:%HOSTPORT/want/26 -o - -o -
diff --git a/tests/data/name25.txt b/tests/data/name25.txt
index e63b48ce6..b02c8e7e5 100644
--- a/tests/data/name25.txt
+++ b/tests/data/name25.txt
@@ -1 +1 @@
-looping HTTP Location: following with --max-redirs
+looping HTTP Location: following with --max-redirs, no persistance
diff --git a/tests/data/prot26.txt b/tests/data/prot26.txt
index d99b086ed..be38e7dd7 100644
--- a/tests/data/prot26.txt
+++ b/tests/data/prot26.txt
@@ -1,4 +1,4 @@
-GET /want/25 HTTP/1.1
+GET /want/26 HTTP/1.1
User-Agent: curl/7.6-pre1 (sparc-sun-solaris2.7) libcurl 7.5.2 (SSL 0.9.6) (krb4 enabled)
Host: 127.0.0.1:8999
Pragma: no-cache
diff --git a/tests/data/reply25.txt b/tests/data/reply25.txt
index 5839f8d3c..6a816bf4b 100644
--- a/tests/data/reply25.txt
+++ b/tests/data/reply25.txt
@@ -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!
diff --git a/tests/data/reply26.txt b/tests/data/reply26.txt
index 5839f8d3c..f065ac374 100644
--- a/tests/data/reply26.txt
+++ b/tests/data/reply26.txt
@@ -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!
diff --git a/tests/data/reply31.txt b/tests/data/reply31.txt
index 7794fd3ce..50e03a4e7 100644
--- a/tests/data/reply31.txt
+++ b/tests/data/reply31.txt
@@ -1,6 +1,7 @@
HTTP/1.1 301 Moved Permanently
Server: fake
Location: /moo/moo/moo/310002
+Connection: close
No contents
diff --git a/tests/data/reply310001.txt b/tests/data/reply310001.txt
index ea3c76a7c..6e17b66b1 100644
--- a/tests/data/reply310001.txt
+++ b/tests/data/reply310001.txt
@@ -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
diff --git a/tests/data/reply32.txt b/tests/data/reply32.txt
index 8f8cf8522..9e5e693d3 100644
--- a/tests/data/reply32.txt
+++ b/tests/data/reply32.txt
@@ -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!
diff --git a/tests/data/reply320001.txt b/tests/data/reply320001.txt
index e444cfc17..d4605292e 100644
--- a/tests/data/reply320001.txt
+++ b/tests/data/reply320001.txt
@@ -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
diff --git a/tests/data/stdout27.txt b/tests/data/stdout27.txt
index 6c6fe7ec2..12af89c72 100644
--- a/tests/data/stdout27.txt
+++ b/tests/data/stdout27.txt
@@ -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