xref: /curl/tests/data/test445 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP proxy
6</keywords>
7</info>
8
9#
10# Server-side
11<reply>
12<connect>
13HTTP/1.1 503 no just no
14Date: Tue, 09 Nov 2010 14:49:00 GMT
15Server: test-server/fake
16Accept-Ranges: bytes
17Content-Length: 6
18Connection: close
19
20-foo-
21</connect>
22</reply>
23
24#
25# Client-side
26<client>
27<features>
28gopher
29dict
30http
31ftp
32imap
33ldap
34mqtt
35pop3
36rtsp
37scp
38sftp
39smb
40smtp
41</features>
42<server>
43http-proxy
44</server>
45<name>
46Refuse tunneling protocols through HTTP proxy
47</name>
48<command>
49-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
50</command>
51</client>
52
53#
54# Verify data after the test has been "shot"
55<verify>
56# refused in the CONNECT
57<errorcode>
5856
59</errorcode>
60</verify>
61</testcase>
62