xref: /curl/tests/data/test1154 (revision f58e493e)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6</keywords>
7</info>
8
9#
10# Server-side
11<reply>
12<data>
13HTTP/1.1 200 OK
14Date: Tue, 09 Nov 2010 14:49:00 GMT
15Server: test-server/fake
16Content-Length: 6
17Connection: close
18Long: %repeat[102400 x A]%
19
20-foo-
21</data>
22<datacheck>
23</datacheck>
24</reply>
25
26#
27# Client-side
28<client>
29<server>
30http
31</server>
32<name>
33HTTP GET with 100K (too long) response header
34</name>
35<command>
36http://%HOSTIP:%HTTPPORT/%TESTNUMBER
37</command>
38</client>
39
40#
41# Verify data after the test has been "shot"
42<verify>
43<protocol>
44GET /%TESTNUMBER HTTP/1.1
45Host: %HOSTIP:%HTTPPORT
46User-Agent: curl/%VERSION
47Accept: */*
48
49</protocol>
50# 100 == CURLE_TOO_LARGE
51<errorcode>
52100
53</errorcode>
54</verify>
55</testcase>
56