summaryrefslogtreecommitdiffstats
path: root/fluent-bit/lib/monkey/qa/error_413_01.htt
diff options
context:
space:
mode:
Diffstat (limited to 'fluent-bit/lib/monkey/qa/error_413_01.htt')
-rw-r--r--fluent-bit/lib/monkey/qa/error_413_01.htt28
1 files changed, 28 insertions, 0 deletions
diff --git a/fluent-bit/lib/monkey/qa/error_413_01.htt b/fluent-bit/lib/monkey/qa/error_413_01.htt
new file mode 100644
index 000000000..d9b519d23
--- /dev/null
+++ b/fluent-bit/lib/monkey/qa/error_413_01.htt
@@ -0,0 +1,28 @@
+################################################################################
+# DESCRIPTION
+# Exercise error 413
+#
+# AUTHOR
+# Eduardo Silva <edsiper@gmail.com>
+#
+# DATE
+# July 11 2010
+#
+# COMMENTS
+# A POST request with a higher content-lengt header, it should
+# return "413 Request Entity Too Large"
+################################################################################
+
+
+INCLUDE __CONFIG
+
+CLIENT
+_REQ $HOST $PORT
+__POST / $HTTPVER
+__Host: $HOST
+__Content-Length: 999999999999999999999
+__Connection: close
+__
+_EXPECT . "HTTP/1.1 413 Request Entity Too Large"
+_WAIT
+END