<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
HTTPS
HTTP GET
HTTP CONNECT
HTTP proxy
</keywords>
</info>
# Server-side
<reply>
<connect nocheck="yes">
HTTP/1.1 407 Needs proxy authentication
HTTP/1.1 200 is not the answer: nonono
Server: test-server/fake swsclose yesyes
Proxy-Authenticate: Basic "oh please"

</connect>
</reply>

# Client-side
<client>
<server>
http
</server>
<features>
proxy
</features>
<name>
HTTP CONNECT with faked status line header
</name>
<command>
http://test.anything.really.com:%TESTNUMBER --proxy %HOSTIP:%HTTPPORT --proxytunnel
</command>
</client>

# Verify data after the test has been "shot"
<verify>
<errorcode>
7
</errorcode>
<protocol crlf="headers">
CONNECT test.anything.really.com:%TESTNUMBER HTTP/1.1
Host: test.anything.really.com:%TESTNUMBER
User-Agent: curl/%VERSION
Proxy-Connection: Keep-Alive

</protocol>
</verify>
</testcase>
