xref: /curl/tests/data/test1528 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6HTTP CONNECT
7HTTP proxy
8proxytunnel
9</keywords>
10</info>
11
12# Server-side
13<reply>
14<connect>
15HTTP/1.1 200 OK
16We-are: good
17
18</connect>
19<data>
20HTTP/1.1 200 OK swsclose
21Date: Tue, 09 Nov 2010 14:49:00 GMT
22Server: test-server/fake
23Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
24ETag: "21025-dc7-39462498"
25Content-Length: 5
26
27stop
28</data>
29
30</reply>
31# Client-side
32<client>
33<server>
34http
35http-proxy
36</server>
37<tool>
38lib%TESTNUMBER
39</tool>
40<name>
41Separately specified proxy/server headers sent in a proxy GET
42</name>
43<command>
44 http://the.old.moo:%HTTPPORT/%TESTNUMBER %HOSTIP:%PROXYPORT
45</command>
46<features>
47proxy
48</features>
49</client>
50
51# Verify data after the test has been "shot"
52<verify>
53<proxy>
54GET http://the.old.moo:%HTTPPORT/%TESTNUMBER HTTP/1.1
55Host: the.old.moo:%HTTPPORT
56Accept: */*
57Proxy-Connection: Keep-Alive
58User-Agent: Http Agent
59Proxy-User-Agent: Http Agent2
60
61</proxy>
62</verify>
63</testcase>
64