]> icculus.org git repositories - icculus/iodoom3.git/blob - neo/curl/tests/data/test26
hello world
[icculus/iodoom3.git] / neo / curl / tests / data / test26
1 # Server-side
2 <reply>
3 <data>
4 HTTP/1.1 200 Mooo swsclose
5 Server: test-server/fake
6 Connection: close
7
8 *flopp*
9 </data>
10 </reply>
11
12 # Client-side
13 <client>
14 <server>
15 http
16 </server>
17  <name>
18 specify more -o than URLs
19  </name>
20  <command>
21 http://%HOSTIP:%HOSTPORT/want/26 -o - -o -
22 </command>
23 </test>
24
25 # Verify data after the test has been "shot"
26 <verify>
27 <strip>
28 ^User-Agent: curl.*
29 </strip>
30 <protocol>
31 GET /want/26 HTTP/1.1
32 User-Agent: curl/7.8.1-pre3 (sparc-sun-solaris2.7) libcurl 7.8.1-pre3 (OpenSSL 0.9.6a) (krb4 enabled)
33 Host: 127.0.0.1:8999
34 Pragma: no-cache
35 Accept: */*
36
37 </protocol>
38 </verify>