]> icculus.org git repositories - icculus/iodoom3.git/blob - neo/curl/tests/data/test85
hello world
[icculus/iodoom3.git] / neo / curl / tests / data / test85
1 #
2 # Server-side
3 <reply>
4 <data>
5 HTTP/1.1 200 OK
6 Date: Thu, 09 Nov 2010 14:49:00 GMT
7 Server: test-server/fake swsclose
8 Content-Type: text/html
9 Funny-head: yesyes
10
11 contents
12 </data>
13 </reply>
14
15 #
16 # Client-side
17 <client>
18 <server>
19 http
20 </server>
21  <name>
22 HTTP over proxy with site and proxy authentication
23  </name>
24  <command>
25 http://%HOSTIP:%HOSTPORT/we/want/that/page/85 -x %HOSTIP:%HOSTPORT --user iam:myself --proxy-user testing:this
26 </command>
27 </test>
28
29 #
30 # Verify data after the test has been "shot"
31 <verify>
32 <strip>
33 ^User-Agent:.*
34 </strip>
35 <protocol>
36 GET http://127.0.0.1:8999/we/want/that/page/85 HTTP/1.1
37 Proxy-authorization: Basic dGVzdGluZzp0aGlz
38 Authorization: Basic aWFtOm15c2VsZg==
39 User-Agent: curl/7.10.7-pre2 (i686-pc-linux-gnu) libcurl/7.10.7-pre2 OpenSSL/0.9.7a zlib/1.1.3
40 Host: 127.0.0.1:8999
41 Pragma: no-cache
42 Accept: */*
43
44 </protocol>
45 </verify>