summaryrefslogtreecommitdiffstats
path: root/fluent-bit/lib/monkey/qa/error_413_01.htt
blob: d9b519d236f53db5659c0a32540f05be3e816143 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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