diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 02:57:58 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 02:57:58 +0000 |
commit | be1c7e50e1e8809ea56f2c9d472eccd8ffd73a97 (patch) | |
tree | 9754ff1ca740f6346cf8483ec915d4054bc5da2d /fluent-bit/lib/monkey/qa/headers_case_insensitive.htt | |
parent | Initial commit. (diff) | |
download | netdata-upstream.tar.xz netdata-upstream.zip |
Adding upstream version 1.44.3.upstream/1.44.3upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'fluent-bit/lib/monkey/qa/headers_case_insensitive.htt')
-rw-r--r-- | fluent-bit/lib/monkey/qa/headers_case_insensitive.htt | 36 |
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 00000000..d2154bfa --- /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 |