2016-05-08 09:11:10 -04:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
HTTP
|
|
|
|
HTTP GET
|
|
|
|
followlocation
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data>
|
|
|
|
HTTP/1.1 200 hello
|
|
|
|
Connection: close
|
|
|
|
Content-Length: 4
|
|
|
|
|
|
|
|
hej
|
|
|
|
</data>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
http
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
HTTP URL with http:/ (one slash!)
|
|
|
|
</name>
|
|
|
|
<command>
|
|
|
|
http:/%HOSTIP:%HTTPPORT/want/1143
|
|
|
|
</command>
|
2018-07-20 05:00:57 -04:00
|
|
|
<setenv>
|
|
|
|
# Needed for MSYS2 to not treat the argument as a POSIX path list
|
|
|
|
# that has to be converted to Windows paths
|
|
|
|
MSYS2_ARG_CONV_EXCL=http:/
|
|
|
|
</setenv>
|
2016-05-08 09:11:10 -04:00
|
|
|
</client>
|
|
|
|
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<strip>
|
|
|
|
^User-Agent:.*
|
|
|
|
</strip>
|
|
|
|
<protocol>
|
|
|
|
GET /want/1143 HTTP/1.1
|
|
|
|
Host: %HOSTIP:%HTTPPORT
|
|
|
|
Accept: */*
|
|
|
|
|
|
|
|
</protocol>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|