aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-03-14 14:25:57 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-03-14 14:25:57 +0000
commitdf6ad8d8d62323249a7df654af27ddd3ef1fbe97 (patch)
treef3cb78ce0a402e474a479d8ede10ec4e5857ad2c /tests
parentf8e1fc32de60c5f4c30d20d2bc8c55ac13405752 (diff)
Added test case 38
Diffstat (limited to 'tests')
-rw-r--r--tests/data/Makefile.am4
-rw-r--r--tests/data/command38.txt1
-rw-r--r--tests/data/name38.txt1
-rw-r--r--tests/data/prot38.txt11
-rw-r--r--tests/data/reply38.txt4
-rw-r--r--tests/data/reply380001.txt6
6 files changed, 26 insertions, 1 deletions
diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am
index 60f930cd7..3c1626425 100644
--- a/tests/data/Makefile.am
+++ b/tests/data/Makefile.am
@@ -4,7 +4,7 @@ install:
test:
[ -f command1.txt ] || ln -s $(srcdir)/*.txt .
-EXTRA_DIST = command1.txt error113.txt name17.txt prot8.txt \
+EXTRA_DIST = command1.txt error113.txt name17.txt prot8.txt \
command10.txt error114.txt name18.txt prot9.txt \
command100.txt error115.txt name19.txt reply1.txt \
command101.txt error116.txt name2.txt reply10.txt \
@@ -67,3 +67,5 @@ command34.txt prot34.txt reply340001.txt name34.txt reply34.txt \
command35.txt name35.txt prot35.txt reply35.txt \
command36.txt error36.txt name36.txt reply36.txt \
command37.txt name37.txt prot37.txt reply37.txt
+command38.txt prot38.txt reply380001.txt \
+name38.txt reply38.txt
diff --git a/tests/data/command38.txt b/tests/data/command38.txt
new file mode 100644
index 000000000..3841e975b
--- /dev/null
+++ b/tests/data/command38.txt
@@ -0,0 +1 @@
+http://user:pwd@%HOSTIP:%HOSTPORT/38 -L
diff --git a/tests/data/name38.txt b/tests/data/name38.txt
new file mode 100644
index 000000000..80a8b962e
--- /dev/null
+++ b/tests/data/name38.txt
@@ -0,0 +1 @@
+HTTP GET with user+password in URL and Location: and --include
diff --git a/tests/data/prot38.txt b/tests/data/prot38.txt
new file mode 100644
index 000000000..aa661355e
--- /dev/null
+++ b/tests/data/prot38.txt
@@ -0,0 +1,11 @@
+GET /38 HTTP/1.1
+Authorization: Basic dXNlcjpwd2Q=
+Host: 127.0.0.1:8999
+Pragma: no-cache
+Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
+
+GET /ffffooooooooooooooooooooooooooooooooooooooooooooooooooo/37?fake HTTP/1.1
+Host: 127.0.0.1:8999
+Pragma: no-cache
+Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
+
diff --git a/tests/data/reply38.txt b/tests/data/reply38.txt
new file mode 100644
index 000000000..b07b91dae
--- /dev/null
+++ b/tests/data/reply38.txt
@@ -0,0 +1,4 @@
+HTTP/1.0 301 OK
+Location: http://127.0.0.1:8999/ffffooooooooooooooooooooooooooooooooooooooooooooooooooo/37?fake
+
+blah
diff --git a/tests/data/reply380001.txt b/tests/data/reply380001.txt
new file mode 100644
index 000000000..1431eb8dd
--- /dev/null
+++ b/tests/data/reply380001.txt
@@ -0,0 +1,6 @@
+HTTP/1.0 301 OK
+Location: http://127.0.0.1:8999/ffffooooooooooooooooooooooooooooooooooooooooooooooooooo/37?fake
+
+HTTP/1.0 200 OK
+
+no headers!