blob: 2860048cbcadee8cee8c17ecad3b4187620ec364 (
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 404
#
# AUTHOR
# Carlos Ghan <charlie.brown.uy@gmail.com>
#
# DATE
# June 29 2009
#
# COMMENTS
# Requesting an inexistent object should return "Not Found"
################################################################################
INCLUDE __CONFIG
CLIENT
_REQ $HOST $PORT
__GET /a_file_that_doesnt_exists.html $HTTPVER
__Host: $HOST
__Connection: close
__
_EXPECT . "HTTP/1.1 404 Not Found"
_WAIT
END
|