]> icculus.org git repositories - icculus/iodoom3.git/blob - neo/curl/tests/data/test63
hello world
[icculus/iodoom3.git] / neo / curl / tests / data / test63
1 # Server-side
2 <reply>
3 <data>
4 HTTP/1.1 200 OK swsclose
5 Date: Thu, 09 Nov 2010 14:49:00 GMT
6 Content-Type: text/html
7
8 the content would go here
9 </data>
10 </reply>
11
12 # Client-side
13 <client>
14 <server>
15 http
16 </server>
17  <name>
18 HTTP with proxy authorization set in environment
19  </name>
20 <setenv>
21 http_proxy=http://fake:user@%HOSTIP:%HOSTPORT/
22 </setenv>
23  <command>
24 http://we.want.that.site.com/63
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/63 HTTP/1.1
35 Proxy-authorization: Basic aHR0cDovL2Zha2U6dXNlcg==
36 Host: we.want.that.site.com
37 Pragma: no-cache
38 Accept: */*
39
40 </protocol>
41 </verify>