1<testcase> 2<info> 3<keywords> 4curl_easy_header 5</keywords> 6</info> 7 8# Server-side 9<reply> 10<data nocheck="yes"> 11HTTP/1.1 200 OK 12Date: Thu, 09 Nov 2010 14:49:00 GMT 13Server: test with trailing space 14Content-Type: text/html 15Fold: is 16 folding a 17 line 18Content-Length: 0 19Set-Cookie: onecookie=data; 20Set-Cookie: secondcookie=2data; 21Set-Cookie: cookie3=data3; 22Location: /%TESTNUMBER0002 23 24</data> 25</reply> 26 27# Client-side 28<client> 29<features> 30headers-api 31</features> 32<server> 33http 34</server> 35 36<name> 37curl_easy_header 38</name> 39<tool> 40lib%TESTNUMBER 41</tool> 42 43<command> 44http://%HOSTIP:%HTTPPORT/%TESTNUMBER 45</command> 46</client> 47 48# Verify data after the test has been "shot" 49<verify> 50<stdout> 51 Date == Thu, 09 Nov 2010 14:49:00 GMT 52 Server == test with trailing space 53 Content-Type == text/html 54 Content-Length == 0 55 Location == /%TESTNUMBER0002 56- Set-Cookie == onecookie=data; (0/3) 57- Set-Cookie == secondcookie=2data; (1/3) 58- Set-Cookie == cookie3=data3; (2/3) 59 Fold == is folding a line 60</stdout> 61</verify> 62</testcase> 63