]> icculus.org git repositories - icculus/iodoom3.git/blob - neo/curl/tests/data/test16
hello world
[icculus/iodoom3.git] / neo / curl / tests / data / test16
1 # Server-side
2 <reply>
3 <data>
4 HTTP/1.1 200 OK
5 Date: Thu, 09 Nov 2010 14:49:00 GMT
6 Server: test-server/fake
7 Content-Type: text/html
8 Funny-head: yesyes
9 Content-Length: 22
10
11 the content goes here
12 </data>
13 </reply>
14
15 # Client-side
16 <client>
17 <server>
18 http
19 </server>
20  <name>
21 HTTP with proxy athorization
22  </name>
23  <command>
24  -U fake@user:§§§looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong -x %HOSTIP:%HOSTPORT http://we.want.that.site.com/16
25 </command>
26 </test>
27
28 # Verify data after the test has been "shot"
29 <verify>
30 <strip>
31 ^User-Agent:.*
32 </strip>
33 <protocol>
34 GET http://we.want.that.site.com/16 HTTP/1.1
35 Proxy-authorization: Basic ZmFrZUB1c2VyOqenp2xvb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29uZw==
36 Host: we.want.that.site.com
37 Pragma: no-cache
38 Accept: */*
39
40 </protocol>
41 </verify>