• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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: Thu, 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>
38lib1528
39</tool>
40 <name>
41Separately specified proxy/server headers sent in a proxy GET
42 </name>
43 <command>
44 http://the.old.moo:%HTTPPORT/1528 %HOSTIP:%PROXYPORT
45</command>
46</client>
47
48# Verify data after the test has been "shot"
49<verify>
50<proxy>
51GET http://the.old.moo:%HTTPPORT/1528 HTTP/1.1
52Host: the.old.moo:%HTTPPORT
53Accept: */*
54Proxy-Connection: Keep-Alive
55User-Agent: Http Agent
56Proxy-User-Agent: Http Agent2
57
58</proxy>
59</verify>
60</testcase>
61