xref: /curl/tests/data/test85 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6HTTP Basic auth
7HTTP proxy
8HTTP proxy Basic auth
9</keywords>
10</info>
11
12#
13# Server-side
14<reply>
15<data>
16HTTP/1.1 200 OK
17Date: Tue, 09 Nov 2010 14:49:00 GMT
18Server: test-server/fake swsclose
19Content-Type: text/html
20Funny-head: yesyes
21Content-Length: 9
22
23contents
24</data>
25</reply>
26
27#
28# Client-side
29<client>
30<server>
31http
32</server>
33<name>
34HTTP over proxy with site and proxy authentication
35</name>
36<command>
37http://%HOSTIP:%HTTPPORT/we/want/that/page/%TESTNUMBER -x %HOSTIP:%HTTPPORT --user iam:myself --proxy-user testing:this
38</command>
39<features>
40proxy
41</features>
42</client>
43
44#
45# Verify data after the test has been "shot"
46<verify>
47<protocol>
48GET http://%HOSTIP:%HTTPPORT/we/want/that/page/%TESTNUMBER HTTP/1.1
49Host: %HOSTIP:%HTTPPORT
50Proxy-Authorization: Basic dGVzdGluZzp0aGlz
51Authorization: Basic aWFtOm15c2VsZg==
52User-Agent: curl/%VERSION
53Accept: */*
54Proxy-Connection: Keep-Alive
55
56</protocol>
57</verify>
58</testcase>
59