###############################################################################
# DESCRIPTION
#	Trivial test for If-Modified-Since header.
#
# AUTHOR
#	Carlos Ghan	<charlie.brown.uy@gmail.com>
#
# DATE
#	January 27 2010
#
# COMMENTS
#	Server must return a 304 response, since we are passing the requested file's 
#	date as If-Modified-Since's parameter.
###############################################################################


INCLUDE __CONFIG
INCLUDE __MACROS

CLIENT
_CALL INIT
_CALL TESTDOC_GETDATE

_REQ $HOST $PORT
__GET / $HTTPVER
__Host: $HOST
__If-Modified-Since: $TEST_DOC_HTTPDATE
__Connection: close
__
_EXPECT . "HTTP/1.1 304 Not Modified"
_WAIT
END
