]> granicus.if.org Git - curl/commitdiff
HTTP GET fail silently on HTTP error return
authorDaniel Stenberg <daniel@haxx.se>
Wed, 22 Nov 2000 08:57:24 +0000 (08:57 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 22 Nov 2000 08:57:24 +0000 (08:57 +0000)
tests/data/command24.txt [new file with mode: 0644]
tests/data/error24.txt [new file with mode: 0644]
tests/data/name24.txt [new file with mode: 0644]
tests/data/reply24.txt [new file with mode: 0644]

diff --git a/tests/data/command24.txt b/tests/data/command24.txt
new file mode 100644 (file)
index 0000000..075f222
--- /dev/null
@@ -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 (file)
index 0000000..2bd5a0a
--- /dev/null
@@ -0,0 +1 @@
+22
diff --git a/tests/data/name24.txt b/tests/data/name24.txt
new file mode 100644 (file)
index 0000000..b55014e
--- /dev/null
@@ -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 (file)
index 0000000..f7af0c8
--- /dev/null
@@ -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.
+