xref: /curl/tests/data/test1244 (revision e2b4df7b)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6HTTP proxy
7</keywords>
8</info>
9#
10# Server-side
11<reply>
12<data>
13HTTP/1.1 200 OK
14Server: test-server/fake
15Content-Length: 5
16
17bing
18</data>
19<data1>
20HTTP/1.1 200 OK
21Server: test-server/fake
22Content-Length: 6
23
24wrong
25</data1>
26</reply>
27
28#
29# Client-side
30<client>
31<server>
32http
33https
34</server>
35<features>
36proxy
37</features>
38<name>
39HTTP GET same URL - different proxy ports
40</name>
41<command>
42http://%HOSTIP:%HTTPPORT/%TESTNUMBER -x %HOSTIP:%HTTPPORT --next http://%HOSTIP:%HTTPPORT/%TESTNUMBER00001 -x %HOSTIP:%HTTPSPORT
43</command>
44</client>
45
46#
47# Verify data after the test has been "shot"
48<verify>
49# the second request meant to fail
50<errorcode>
5156
52</errorcode>
53<protocol>
54GET http://%HOSTIP:%HTTPPORT/%TESTNUMBER HTTP/1.1
55Host: %HOSTIP:%HTTPPORT
56User-Agent: curl/%VERSION
57Accept: */*
58Proxy-Connection: Keep-Alive
59
60</protocol>
61</verify>
62</testcase>
63