Fix thread_key plugin connector
[MonkeyD.git] / qa / redir_301.htt
blob396810a0a8efb2affe1f1d0ee1082f9b33e6a1ee
1 ################################################################################
2 # DESCRIPTION
3 #       Test status = 301.      
5 # AUTHOR
6 #       Carlos Ghan     <charlie.brown.uy@gmail.com>
8 # DATE
9 #       June 29 2009
11 # COMMENTS
12 #       Request a directory without trailing '/' so that we get "Moved Permanently".
13 ################################################################################
16 INCLUDE __CONFIG
18 SET REDIR=imgs
20 CLIENT
21 _REQ $HOST $PORT
22 __GET /$REDIR $HTTPVER
23 __Host: $HOST
24 __Connection: close
26 _EXPECT . "HTTP/1.1 301 Moved Permanently"
27 _EXPECT . "Location: http://$HOST:$PORT/$REDIR/"
28 _WAIT
29 END