xref: /curl/tests/data/test1473 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6header line folding
7</keywords>
8</info>
9
10#
11# Server-side
12<reply>
13<data nocheck="yes">
14HTTP/1.1 200 OK
15 Date: Tue, 09 Nov 2010 14:49:00 GMT
16Server: test-server/
17Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
18ETag: "21025-dc7-39462498"
19Content-Length: 6
20
21-foo-
22</data>
23</reply>
24
25#
26# Client-side
27<client>
28<server>
29http
30</server>
31<name>
32first HTTP header starts with white space
33</name>
34<command>
35http://%HOSTIP:%HTTPPORT/%TESTNUMBER
36</command>
37</client>
38
39#
40# Verify data after the test has been "shot"
41<verify>
42<protocol>
43GET /%TESTNUMBER HTTP/1.1
44Host: %HOSTIP:%HTTPPORT
45User-Agent: curl/%VERSION
46Accept: */*
47
48</protocol>
49%if hyper
50# curl: (1) Hyper: [6] invalid HTTP header parsed
51<errorcode>
521
53</errorcode>
54%endif
55</verify>
56</testcase>
57