summaryrefslogtreecommitdiffstats
path: root/src/fluent-bit/lib/monkey/qa/error_411.htt
blob: 95c8d22b45b77361c388c76b069cdfb4d01f3042 (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
################################################################################
# DESCRIPTION
#	Exercise error 411	
#
# AUTHOR
#	Carlos Ghan <charlie.brown.uy@gmail.com>
#
# DATE
#	June 29 2009
#
# COMMENTS
#	A POST request without "Content-Length" should return "Length Required"	
################################################################################


INCLUDE __CONFIG

CLIENT
_REQ $HOST $PORT
__POST / $HTTPVER
__Host: $HOST
__Connection: close
__
_EXPECT . "HTTP/1.1 411 Length Required"
_WAIT
END