blob: f50fafe3df016b2424bc83929d89b5017ccecdac (
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
|
################################################################################
# DESCRIPTION
# Exercise error 505
#
# AUTHOR
# Carlos Ghan <charlie.brown.uy@gmail.com>
#
# DATE
# June 29 2009
#
# COMMENTS
# Requesting an unsupported HTTP version should return "HTTP Version Not
# Supported"
################################################################################
INCLUDE __CONFIG
CLIENT
_REQ $HOST $PORT
__GET / HTTP/1.9
__Host: $HOST
__Connection: close
__
_EXPECT . "HTTP/1.1 505 HTTP Version Not Supported"
_WAIT
END
|