summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-11-28 09:42:15 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-11-28 09:42:15 +0000
commita00bb13766f543da9c7aacec746a7b78fd3b9376 (patch)
treed404e6ad972ec9e5a4a14ee9313f657386d2bf1e
parent7c7923761d3eb1dcf3aa54e0aca68a9bef6b76f3 (diff)
downloadgnurl-a00bb13766f543da9c7aacec746a7b78fd3b9376.tar.gz
gnurl-a00bb13766f543da9c7aacec746a7b78fd3b9376.tar.bz2
gnurl-a00bb13766f543da9c7aacec746a7b78fd3b9376.zip
max-redirs test case data
-rw-r--r--tests/data/command25.txt4
-rw-r--r--tests/data/error25.txt1
-rw-r--r--tests/data/name25.txt1
-rw-r--r--tests/data/reply25.txt5
4 files changed, 11 insertions, 0 deletions
diff --git a/tests/data/command25.txt b/tests/data/command25.txt
new file mode 100644
index 000000000..eeb344562
--- /dev/null
+++ b/tests/data/command25.txt
@@ -0,0 +1,4 @@
+http://%HOSTIP:%HOSTPORT/want/25 -L --max-redirs 5
+
+
+
diff --git a/tests/data/error25.txt b/tests/data/error25.txt
new file mode 100644
index 000000000..abac1ea7b
--- /dev/null
+++ b/tests/data/error25.txt
@@ -0,0 +1 @@
+47
diff --git a/tests/data/name25.txt b/tests/data/name25.txt
new file mode 100644
index 000000000..e63b48ce6
--- /dev/null
+++ b/tests/data/name25.txt
@@ -0,0 +1 @@
+looping HTTP Location: following with --max-redirs
diff --git a/tests/data/reply25.txt b/tests/data/reply25.txt
new file mode 100644
index 000000000..5839f8d3c
--- /dev/null
+++ b/tests/data/reply25.txt
@@ -0,0 +1,5 @@
+HTTP/1.1 301 This is a weirdo text message
+Server: test-server/fake
+Location: data/reply/25
+
+Redirect to the same URL again!