xref: /curl/tests/data/test1150 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6HTTP proxy
7</keywords>
8</info>
9# Server-side
10<reply>
11
12# this is returned when we get a GET!
13<data>
14HTTP/1.1 200 OK
15Date: Tue, 09 Nov 2010 14:49:00 GMT
16Content-Length: 7
17Content-Type: text/html
18Funny-head: yesyes
19
20daniel
21</data>
22</reply>
23
24# Client-side
25<client>
26<server>
27http
28</server>
29<name>
30HTTP proxy with URLs using different ports
31</name>
32<command>
33--proxy http://%HOSTIP:%HTTPPORT http://test.remote.example.com.%TESTNUMBER:150/path http://test.remote.example.com.%TESTNUMBER:1234/path/
34</command>
35<features>
36proxy
37</features>
38</client>
39
40# Verify data after the test has been "shot"
41<verify>
42<protocol>
43GET http://test.remote.example.com.%TESTNUMBER:150/path HTTP/1.1
44Host: test.remote.example.com.%TESTNUMBER:150
45User-Agent: curl/%VERSION
46Accept: */*
47Proxy-Connection: Keep-Alive
48
49GET http://test.remote.example.com.%TESTNUMBER:1234/path/ HTTP/1.1
50Host: test.remote.example.com.%TESTNUMBER:1234
51User-Agent: curl/%VERSION
52Accept: */*
53Proxy-Connection: Keep-Alive
54
55</protocol>
56</verify>
57</testcase>
58