xref: /curl/tests/data/test279 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6HTTP proxy
7HTTP proxy Basic auth
8</keywords>
9</info>
10
11# Server-side
12<reply>
13<data>
14HTTP/1.1 200 OK swsclose
15Date: Tue, 09 Nov 2010 14:49:00 GMT
16Content-Type: text/html
17Content-Length: 27
18
19the content would go here
20</data>
21</reply>
22
23# Client-side
24<client>
25<server>
26http
27</server>
28<name>
29HTTP with proxy string including http:// and user only
30</name>
31<command>
32http://we.want.that.site.com/%TESTNUMBER -x http://f%61ke@%HOSTIP:%HTTPPORT
33</command>
34<features>
35proxy
36</features>
37</client>
38
39# Verify data after the test has been "shot"
40<verify>
41<protocol>
42GET http://we.want.that.site.com/%TESTNUMBER HTTP/1.1
43Host: we.want.that.site.com
44Proxy-Authorization: Basic ZmFrZTo=
45User-Agent: curl/%VERSION
46Accept: */*
47Proxy-Connection: Keep-Alive
48
49</protocol>
50</verify>
51</testcase>
52