summaryrefslogtreecommitdiffstats
path: root/fluent-bit/lib/monkey/qa/error_400_test01.htt
diff options
context:
space:
mode:
Diffstat (limited to 'fluent-bit/lib/monkey/qa/error_400_test01.htt')
-rw-r--r--fluent-bit/lib/monkey/qa/error_400_test01.htt26
1 files changed, 26 insertions, 0 deletions
diff --git a/fluent-bit/lib/monkey/qa/error_400_test01.htt b/fluent-bit/lib/monkey/qa/error_400_test01.htt
new file mode 100644
index 000000000..e6d7e7fa0
--- /dev/null
+++ b/fluent-bit/lib/monkey/qa/error_400_test01.htt
@@ -0,0 +1,26 @@
+################################################################################
+# DESCRIPTION
+# Exercise error 400
+#
+# AUTHOR
+# Carlos Ghan <charlie.brown.uy@gmail.com>
+#
+# DATE
+# June 29 2009
+#
+# COMMENTS
+# Sending a bad request. In this case, one with missing "Host" header.
+# ("Host" header is required in HTTP v1.1)
+################################################################################
+
+
+INCLUDE __CONFIG
+
+CLIENT
+_REQ $HOST $PORT
+__GET / $HTTPVER
+__Connection: close
+__
+_EXPECT . "HTTP/1.1 400 Bad Request"
+_WAIT
+END