aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test503
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/test503')
-rw-r--r--tests/data/test50312
1 files changed, 8 insertions, 4 deletions
diff --git a/tests/data/test503 b/tests/data/test503
index 2acfc4a16..ea3148300 100644
--- a/tests/data/test503
+++ b/tests/data/test503
@@ -16,6 +16,10 @@ multi
<servercmd>
connection-monitor
</servercmd>
+<connect>
+HTTP/1.1 200 Mighty fine indeed
+
+</connect>
<data>
HTTP/1.1 200 OK swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
@@ -51,7 +55,7 @@ lib503
simple multi http:// through proxytunnel with authentication info
</name>
<command>
-http://%HOSTIP:%HTTPPORT/503 %HOSTIP:%PROXYPORT
+http://machine.503:%HTTPPORT/503 %HOSTIP:%PROXYPORT
</command>
<file name="log/test503.txt">
foo
@@ -65,8 +69,8 @@ moo
# Verify data after the test has been "shot"
<verify>
<proxy>
-CONNECT %HOSTIP:%HTTPPORT HTTP/1.1
-Host: %HOSTIP:%HTTPPORT
+CONNECT machine.503:%HTTPPORT HTTP/1.1
+Host: machine.503:%HTTPPORT
Proxy-Authorization: Basic dGVzdDppbmc=
Proxy-Connection: Keep-Alive
@@ -74,7 +78,7 @@ Proxy-Connection: Keep-Alive
<protocol>
GET /503 HTTP/1.1
Authorization: Basic dGVzdDppbmc=
-Host: %HOSTIP:%HTTPPORT
+Host: machine.503:%HTTPPORT
Accept: */*
[DISCONNECT]