h1-mod/deps/curl/tests/data/test1143
2024-03-07 00:54:32 -05:00

49 lines
708 B
Plaintext

<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/%TESTNUMBER
</command>
<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>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
GET /want/%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
</protocol>
</verify>
</testcase>