1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP GET 6HTTP CONNECT 7HTTP proxy 8proxytunnel 9</keywords> 10</info> 11 12# Server-side 13<reply> 14<connect> 15HTTP/1.1 200 OK 16We-are: good 17 18</connect> 19<data> 20HTTP/1.1 200 OK swsclose 21Date: Thu, 09 Nov 2010 14:49:00 GMT 22Server: test-server/fake 23Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT 24ETag: "21025-dc7-39462498" 25</data> 26<datacheck> 27HTTP/1.1 200 OK 28We-are: good 29 30HTTP/1.1 200 OK swsclose 31Date: Thu, 09 Nov 2010 14:49:00 GMT 32Server: test-server/fake 33Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT 34ETag: "21025-dc7-39462498" 35</datacheck> 36 37</reply> 38# Client-side 39<client> 40<server> 41http 42http-proxy 43</server> 44<tool> 45lib1527 46</tool> 47 <name> 48Check same headers are generated with CURLOPT_HEADEROPT == CURLHEADER_UNIFIED 49 </name> 50 <command> 51 http://the.old.moo.1527:%HTTPPORT/1527 %HOSTIP:%PROXYPORT 52</command> 53<features> 54proxy 55</features> 56</client> 57 58# Verify data after the test has been "shot" 59<verify> 60<proxy> 61CONNECT the.old.moo.1527:%HTTPPORT HTTP/1.1 62Host: the.old.moo.1527:%HTTPPORT 63Proxy-Connection: Keep-Alive 64User-Agent: Http Agent 65Expect: 100-continue 66 67</proxy> 68<protocol> 69PUT /1527 HTTP/1.1 70Host: the.old.moo.1527:%HTTPPORT 71Accept: */* 72User-Agent: Http Agent 73Expect: 100-continue 74Content-Length: 13 75 76Hello Cloud! 77</protocol> 78</verify> 79</testcase> 80