xref: /curl/tests/data/test1180 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP proxy
6</keywords>
7</info>
8
9# Server-side
10<reply>
11<data>
12HTTP/1.1 200 OK
13Server: Blafasel/5.0
14Date: Sat, 16 Jan 2021 14:48:30 GMT
15Content-Length: 12
16
17Bla bla bla
18</data>
19
20</reply>
21
22# Client-side
23<client>
24<server>
25http
26</server>
27<features>
28proxy
29</features>
30<name>
31HTTP GET request with proxy and -H "Proxy-Connection: keep-alive"
32</name>
33<command>
34--proxy http://%HOSTIP:%HTTPPORT -H "Proxy-Connection: Keep-Alive" http://%HOSTIP:%HTTPPORT/%TESTNUMBER
35</command>
36</client>
37
38<verify>
39<protocol>
40GET http://%HOSTIP:%HTTPPORT/%TESTNUMBER HTTP/1.1
41Host: %HOSTIP:%HTTPPORT
42User-Agent: curl/%VERSION
43Accept: */*
44Proxy-Connection: Keep-Alive
45
46</protocol>
47</verify>
48</testcase>
49