summaryrefslogtreecommitdiffstats
path: root/src/fluent-bit/lib/monkey/qa/error_400_test01.htt
blob: e6d7e7fa0b72b9b4caa45261b21eac7915298de4 (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 400	
#
# AUTHOR
#	Carlos Ghan <charlie.brown.uy@gmail.com>
#
# DATE
#	June 29 2009
#
# COMMENTS
#	Sending a bad request. In this case, one with missing "Host" header.
#   ("Host" header is required in HTTP v1.1)
################################################################################


INCLUDE __CONFIG

CLIENT
_REQ $HOST $PORT
__GET / $HTTPVER
__Connection: close
__
_EXPECT . "HTTP/1.1 400 Bad Request"
_WAIT
END