Resync
[CMakeLuaTailorHgBridge.git] / CMakeLua / Utilities / cmcurl-7.19.0 / tests / data / test18
blobe71ff7cadc00e7d484c94f90b5c124013f314f1d
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP GET
6 {} list
7 </keywords>
8 </info>
9 # Server-side
10 <reply>
11 <data nocheck="1">
12 HTTP/1.1 200 OK
13 Funny-head: yesyes
14 Content-Length: 4
16 moo
17 </data>
18 <data2>
19 HTTP/1.1 200 OK
20 Funny-head: yesyes
21 Content-Length: 4
23 foo
24 </data2>
25 <data3>
26 HTTP/1.1 200 OK
27 Funny-head: yesyes
28 Content-Length: 4
30 hoo
31 </data3>
32 </reply>
34 # Client-side
35 <client>
36 <server>
37 http
38 </server>
39  <name>
40 multiple requests using {} in URL
41  </name>
42  <command>
43 "%HOSTIP:%HTTPPORT/{18,180002,180003}"
44 </command>
45 </client>
47 # Verify data after the test has been "shot"
48 <verify>
49 <strip>
50 ^User-Agent:.*
51 </strip>
52 <protocol>
53 GET /18 HTTP/1.1
54 User-Agent: curl/7.8.1-pre3 (sparc-sun-solaris2.7) libcurl 7.8.1-pre3 (OpenSSL 0.9.6a) (krb4 enabled)
55 Host: %HOSTIP:%HTTPPORT
56 Accept: */*
58 GET /180002 HTTP/1.1
59 User-Agent: curl/7.8.1-pre3 (sparc-sun-solaris2.7) libcurl 7.8.1-pre3 (OpenSSL 0.9.6a) (krb4 enabled)
60 Host: %HOSTIP:%HTTPPORT
61 Accept: */*
63 GET /180003 HTTP/1.1
64 User-Agent: curl/7.8.1-pre3 (sparc-sun-solaris2.7) libcurl 7.8.1-pre3 (OpenSSL 0.9.6a) (krb4 enabled)
65 Host: %HOSTIP:%HTTPPORT
66 Accept: */*
68 </protocol>
69 <stdout>
70 --_curl_--%HOSTIP:%HTTPPORT/18
71 HTTP/1.1 200 OK
72 Funny-head: yesyes
73 Content-Length: 4
75 moo
76 --_curl_--%HOSTIP:%HTTPPORT/180002
77 HTTP/1.1 200 OK
78 Funny-head: yesyes
79 Content-Length: 4
81 foo
82 --_curl_--%HOSTIP:%HTTPPORT/180003
83 HTTP/1.1 200 OK
84 Funny-head: yesyes
85 Content-Length: 4
87 hoo
88 </stdout>
89 </verify>
90 </testcase>