Resync
[CMakeLuaTailorHgBridge.git] / CMakeLua / Utilities / cmcurl-7.19.0 / tests / data / test199
blobd19a4432a989bc642277cc4e412f3d36e54783fb
1 <testcase>
3 # Server-side
4 <reply name="1">
5 <data>
6 HTTP/1.1 200 OK
7 Date: Thu, 09 Nov 2010 14:49:00 GMT
8 Server: test-server/fake
9 Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
10 ETag: "21025-dc7-39462498"
11 Accept-Ranges: bytes
12 Content-Length: 6
13 Connection: close
14 Content-Type: text/html
15 Funny-head: yesyes
17 -foo-
18 </data>
19 </reply>
22 # Client-side
23 <client>
24 <server>
25 http
26 </server>
27  <name>
28 HTTP with -d, -G and {}
29  </name>
30  <command>
31 -d "foo=moo&moo=poo" "http://%HOSTIP:%HTTPPORT/{199,199}" -G
32 </command>
33 </client>
36 # Verify data after the test has been "shot"
37 <verify>
38 <strip>
39 ^User-Agent:.*
40 </strip>
41 <protocol>
42 GET /199?foo=moo&moo=poo HTTP/1.1
43 Host: %HOSTIP:%HTTPPORT
44 Accept: */*
46 GET /199?foo=moo&moo=poo HTTP/1.1
47 Host: %HOSTIP:%HTTPPORT
48 Accept: */*
50 </protocol>
51 </verify>
52 </testcase>