From a00bb13766f543da9c7aacec746a7b78fd3b9376 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 28 Nov 2000 09:42:15 +0000 Subject: [PATCH] max-redirs test case data --- tests/data/command25.txt | 4 ++++ tests/data/error25.txt | 1 + tests/data/name25.txt | 1 + tests/data/reply25.txt | 5 +++++ 4 files changed, 11 insertions(+) create mode 100644 tests/data/command25.txt create mode 100644 tests/data/error25.txt create mode 100644 tests/data/name25.txt create mode 100644 tests/data/reply25.txt 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!