From ea9ede15e3d43b9ec86ed848299c79fb71d09df2 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 22 Nov 2000 08:57:24 +0000 Subject: HTTP GET fail silently on HTTP error return --- tests/data/command24.txt | 2 ++ tests/data/error24.txt | 1 + tests/data/name24.txt | 1 + tests/data/reply24.txt | 5 +++++ 4 files changed, 9 insertions(+) create mode 100644 tests/data/command24.txt create mode 100644 tests/data/error24.txt create mode 100644 tests/data/name24.txt create mode 100644 tests/data/reply24.txt diff --git a/tests/data/command24.txt b/tests/data/command24.txt new file mode 100644 index 000000000..075f22244 --- /dev/null +++ b/tests/data/command24.txt @@ -0,0 +1,2 @@ +http://%HOSTIP:%HOSTPORT/24 --fail + diff --git a/tests/data/error24.txt b/tests/data/error24.txt new file mode 100644 index 000000000..2bd5a0a98 --- /dev/null +++ b/tests/data/error24.txt @@ -0,0 +1 @@ +22 diff --git a/tests/data/name24.txt b/tests/data/name24.txt new file mode 100644 index 000000000..b55014ef9 --- /dev/null +++ b/tests/data/name24.txt @@ -0,0 +1 @@ +HTTP GET fail silently on HTTP error return diff --git a/tests/data/reply24.txt b/tests/data/reply24.txt new file mode 100644 index 000000000..f7af0c8b3 --- /dev/null +++ b/tests/data/reply24.txt @@ -0,0 +1,5 @@ +HTTP/1.1 404 BAD BOY +Content-Type: text/html + +This silly page doesn't reaaaaaly exist so you should not get it. + -- cgit v1.2.3