summaryrefslogtreecommitdiffstats
path: root/src/fluent-bit/lib/monkey/qa/connection_http11_02.htt
blob: f120fbcb2b855136cb194185ec6c3a4da15a9560 (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
#	Server must not send connection header
#
# AUTHOR
#	Eduardo Silva	<edsiper@gmail.com>
#
# DATE
#	March 17 2011
#
# COMMENTS
#	Do Expect 'Connection:' from server
###############################################################################


INCLUDE __CONFIG
INCLUDE __MACROS

CLIENT
_REQ $HOST $PORT
__GET / $HTTPVER
__Host: $HOST
__Connection: close
__
_EXPECT . "HTTP/1.1 200 OK"
_EXPECT . "Connection: Close"
_WAIT
END