<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
HTTP
HTTP GET
HTTP added headers
</keywords>
</info>

# Server-side
<reply>
<data>
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 6
Connection: close

-foo-
</data>
</reply>

# Client-side
<client>
<server>
http
</server>
<name>
Send custom request headers larger than the response header limit
</name>
<stdin>
header "X-Large: %repeat[307200 x x]%"
header "Connection: %repeat[307200 x x]%"
header "%repeat[307201 x X]%;"
</stdin>
<command>
-K - http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>

# Verify data after the test has been "shot"
<verify>
<protocol crlf="yes">
GET /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
X-Large: %repeat[307200 x x]%
%repeat[307201 x X]%:
Connection: %repeat[307200 x x]%

</protocol>
<limits>
Maximum allocated: 4000000
</limits>
</verify>
</testcase>
