+<testcase>
+<info>
+<keywords>
+HTTP
+HTTP POST
+HTTP Basic auth
+</keywords>
+</info>
#
# Server-side
-<reply name="1">
+<reply>
<data>
HTTP/1.0 200 OK\r
Server: test-server/fake\r
HTTP POST with auth and contents but with content-length set to 0
</name>
<command>
- -d "fooo=mooo&pooo=clue&doo=%20%20%20++++" -u "fake:-user" http://%HOSTIP:%HOSTPORT/3
+ -d "fooo=mooo&pooo=clue&doo=%20%20%20++++" -u "fake:-user" http://%HOSTIP:%HTTPPORT/3
</command>
-</test>
+</client>
#
# Verify data after the test has been "shot"
<strip>
^User-Agent:.*
</strip>
-<protocol nonewline=yes>
+<protocol nonewline="yes">
POST /3 HTTP/1.1\r
Authorization: Basic ZmFrZTotdXNlcg==\r
-Host: 127.0.0.1:8999\r
-Pragma: no-cache\r
+Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
Content-Length: 37\r
Content-Type: application/x-www-form-urlencoded\r
fooo=mooo&pooo=clue&doo=%20%20%20++++
</protocol>
</verify>
+</testcase>