summaryrefslogtreecommitdiffstats
path: root/fluent-bit/lib/monkey/qa/headers_case_insensitive.htt
diff options
context:
space:
mode:
Diffstat (limited to 'fluent-bit/lib/monkey/qa/headers_case_insensitive.htt')
-rw-r--r--fluent-bit/lib/monkey/qa/headers_case_insensitive.htt36
1 files changed, 36 insertions, 0 deletions
diff --git a/fluent-bit/lib/monkey/qa/headers_case_insensitive.htt b/fluent-bit/lib/monkey/qa/headers_case_insensitive.htt
new file mode 100644
index 000000000..d2154bfaf
--- /dev/null
+++ b/fluent-bit/lib/monkey/qa/headers_case_insensitive.htt
@@ -0,0 +1,36 @@
+################################################################################
+# DESCRIPTION
+# Test that headers are treated as case insensitive. (RFC2616 Section 4.2)
+#
+# AUTHOR
+# Carlos Ghan <charlie.brown.uy@gmail.com>
+#
+# DATE
+# June 29 2009
+################################################################################
+
+
+INCLUDE __CONFIG
+CLIENT
+_REQ $HOST $PORT
+__GET / $HTTPVER
+__HOST: $HOST
+__CONNECTION: close
+__
+_EXPECT . "HTTP/1.1 200 OK"
+_WAIT
+_CLOSE
+
+_REQ $HOST $PORT
+__POST / $HTTPVER
+__HOST: $HOST
+__CONNECTION: close
+__CONTENT-TYPE: text/plain
+__CONTENT-LENGTH: AUTO
+__
+_-This is a test entity body.
+_EXPECT . "HTTP/1.1 200 OK"
+_WAIT
+_CLOSE
+
+END