<testcase>
<info>
<keywords>
HTTP
HTTP POST
POST callback
huge request header
</keywords>
</info>
# Server-side
<reply>

<data>
HTTP/1.1 200 Fine!
Server: Apache/1.3.27 (Darwin) PHP/4.1.2
Content-Length: 6

hello
</data>

</reply>

# Client-side
<client>
<server>
http
</server>
# tool to use
<tool>
lib553
</tool>
<features>
</features>
 <name>
HTTP post with huge request headers and post data from callback
 </name>
 <command>
http://%HOSTIP:%HTTPPORT/path/553
</command>
</client>

# Verify data after the test has been "shot"
<verify>
<strip>
^User-Agent: curl/.*
</strip>
<protocol nonewline="yes">
POST /path/553 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Accept: */*
Header0: [encoded data, 5000 characters]
Header1: [encoded data, 5000 characters]
Header2: [encoded data, 5000 characters]
Header3: [encoded data, 5000 characters]
Header4: [encoded data, 5000 characters]
Header5: [encoded data, 5000 characters]
Header6: [encoded data, 5000 characters]
Header7: [encoded data, 5000 characters]
Content-Length: 40960
Content-Type: application/x-www-form-urlencoded

[encoded data, 40960 characters]
</protocol>
</verify>
</testcase>
