Initial commit of visual studio 9 git build superproject.
[git-build-vc9.git] / curl / tests / data / test199
blobc9651bca26a3ea30c75f4501d3e9bdca234e90cb
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\r
43 Host: %HOSTIP:%HTTPPORT\r
44 Accept: */*\r
46 GET /199?foo=moo&moo=poo HTTP/1.1\r
47 Host: %HOSTIP:%HTTPPORT\r
48 Accept: */*\r
50 </protocol>
51 </verify>
52 </testcase>