aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-11-22 08:57:24 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-11-22 08:57:24 +0000
commitea9ede15e3d43b9ec86ed848299c79fb71d09df2 (patch)
tree0b7f72764ee0c8b223848d84efb617f87ae126dc
parent4768c9cdbbd6ec6f1376bd36f6931af6f8699819 (diff)
HTTP GET fail silently on HTTP error return
-rw-r--r--tests/data/command24.txt2
-rw-r--r--tests/data/error24.txt1
-rw-r--r--tests/data/name24.txt1
-rw-r--r--tests/data/reply24.txt5
4 files changed, 9 insertions, 0 deletions
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.
+