Resync
[CMakeLuaTailorHgBridge.git] / CMakeLua / Utilities / cmcurl-7.19.0 / tests / data / test183
blob273ddf774ca79021af8039ac0de1f005422a9992
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP GET
6 persistent connection
7 </keywords>
8 </info>
10 # Server-side
11 <reply>
12 <data>
13 HTTP/1.1 200 OK
14 Date: Thu, 09 Nov 2010 14:49:00 GMT
15 Content-Length: 4
17 moo
18 </data>
19 </reply>
21 # Client-side
22 <client>
23 <server>
24 http
25 </server>
26  <name>
27 HTTP GET two URLs over a single proxy with persistent connection
28  </name>
29  <command>
30 http://deathstar.another.galaxy/183 http://a.galaxy.far.far.away/183 --proxy http://%HOSTIP:%HTTPPORT
31 </command>
32 </client>
34 # Verify data after the test has been "shot"
35 <verify>
36 <strip>
37 ^User-Agent: curl/.*
38 </strip>
39 <protocol>
40 GET http://deathstar.another.galaxy/183 HTTP/1.1
41 User-Agent: curl/7.12.2-CVS (i686-pc-linux-gnu) libcurl/7.12.2-CVS OpenSSL/0.9.6b zlib/1.1.4 libidn/0.4.6
42 Host: deathstar.another.galaxy
43 Pragma: no-cache
44 Accept: */*
45 Proxy-Connection: Keep-Alive
47 GET http://a.galaxy.far.far.away/183 HTTP/1.1
48 User-Agent: curl/7.12.2-CVS (i686-pc-linux-gnu) libcurl/7.12.2-CVS OpenSSL/0.9.6b zlib/1.1.4 libidn/0.4.6
49 Host: a.galaxy.far.far.away
50 Pragma: no-cache
51 Accept: */*
52 Proxy-Connection: Keep-Alive
54 </protocol>
56 </verify>
57 </testcase>