<testcase>
<info>
<keywords>
HTTP
HTTP POST
client-body-tagger
</keywords>
</info>

<reply>
<data>
HTTP/1.1 200 OK
Connection: close
Content-Type: text/html
X-Connection: swsclose

Received your input.
</data>
</reply>

<client>
<server>
http
</server>
<name>
Two requests to the same URL. The second one is a POST request with an offending word but it's chunk-encoded so it gets to pass.
</name>
<features>
proxy
</features>
<command>
-s --write-out '%{stderr}%{response_code}\n' http://%HOSTIP:%HTTPPORT/%TESTNUMBER --next -H "Transfer-Encoding: chunked" -d "blafasel" -s --write-out '%{stderr}%{response_code}\n' http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>

<verify>
<protocol>
GET /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
Connection: close

POST /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
Transfer-Encoding: chunked
Content-Type: application/x-www-form-urlencoded
Connection: close

8
blafasel
0

</protocol>
<stderr>
200
200
</stderr>

</verify>
</testcase>
