summaryrefslogtreecommitdiff
path: root/tests/data/test445
blob: 0406c0f9acdb9c8c1ed0d743a761eaf073ea7f75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<testcase>
<info>
<keywords>
HTTP
HTTP proxy
</keywords>
</info>

#
# Server-side
<reply>
<connect>
HTTP/1.1 503 no just no
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Accept-Ranges: bytes
Content-Length: 6
Connection: close

-foo-
</connect>
</reply>

#
# Client-side
<client>
<features>
gopher
dict
http
ftp
imap
ldap
mqtt
pop3
rtsp
scp
sftp
smb
smtp
</features>
<server>
http-proxy
</server>
 <name>
Refuse tunneling protocols through HTTP proxy
 </name>
 <command>
-x http://%HOSTIP:%PROXYPORT/%TESTNUMBER -p gopher://127.0.0.1 dict://127.0.0.1 http://moo https://example telnet://another ftp://yes ftps://again imap://more ldap://perhaps mqtt://yes pop3://mail rtsp://harder scp://copy sftp://files smb://wird smtp://send
</command>
</client>

#
# Verify data after the test has been "shot"
<verify>
# refused in the CONNECT
<errorcode>
56
</errorcode>
</verify>
</testcase>