1<testcase> 2<info> 3<keywords> 4curl_easy_header 5CONNECT 6</keywords> 7</info> 8 9# Server-side 10<reply> 11<data nocheck="yes"> 12HTTP/1.1 200 OK 13Date: Thu, 09 Nov 2010 14:49:00 GMT 14Server: test with trailing space 15Content-Type: text/html 16Content-Length: 0 17Set-Cookie: onecookie=data; 18Set-Cookie: secondcookie=2data; 19Set-Cookie: cookie3=data3; 20Location: /%TESTNUMBER0002 21 22</data> 23<connect> 24HTTP/1.1 200 Sure go ahead 25Server: from the connect 26Silly-thing: yes yes 27 28</connect> 29</reply> 30 31# Client-side 32<client> 33<features> 34proxy 35SSL 36headers-api 37</features> 38<server> 39http 40http-proxy 41</server> 42 43<name> 44curl_easy_header with CONNECT 45</name> 46<tool> 47lib1940 48</tool> 49 50<command> 51http://hello:%HTTPPORT/%TESTNUMBER %HOSTIP:%PROXYPORT 52</command> 53</client> 54 55# Verify data after the test has been "shot" 56<verify> 57<proxy> 58CONNECT hello:%HTTPPORT HTTP/1.1 59Host: hello:%HTTPPORT 60Proxy-Connection: Keep-Alive 61 62</proxy> 63<stdout> 64 Date == Thu, 09 Nov 2010 14:49:00 GMT 65 Server == test with trailing space 66 Content-Type == text/html 67 Content-Length == 0 68 Location == /%TESTNUMBER0002 69- Set-Cookie == onecookie=data; (0/3) 70- Set-Cookie == secondcookie=2data; (1/3) 71- Set-Cookie == cookie3=data3; (2/3) 72 Server == from the connect 73 Silly-thing == yes yes 74</stdout> 75</verify> 76</testcase> 77