mirror of
https://github.com/curl/curl.git
synced 2026-08-06 09:16:12 +03:00
test219: verify unsupported scheme for proxies get rejected
This commit is contained in:
parent
a96319ebb9
commit
f1cdcc4c3e
2 changed files with 35 additions and 1 deletions
34
tests/data/test219
Normal file
34
tests/data/test219
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
proxy
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
</reply>
|
||||
|
||||
#
|
||||
# Client-side
|
||||
<client>
|
||||
<server>
|
||||
none
|
||||
</server>
|
||||
<name>
|
||||
try using proxy with unsupported scheme
|
||||
</name>
|
||||
<command>
|
||||
-x foo://%HOSTIP:%HTTPPORT/219 http://%HOSTIP:%HTTPPORT/219
|
||||
</command>
|
||||
</client>
|
||||
|
||||
#
|
||||
# Verify after the test has been "shot"
|
||||
<verify>
|
||||
<errorcode>
|
||||
7
|
||||
</errorcode>
|
||||
</verify>
|
||||
</testcase>
|
||||
Loading…
Add table
Add a link
Reference in a new issue