<reply>
# this is returned first since we get no proxy-auth
-<data nocheck="yes">
+<connect nocheck="yes">
HTTP/1.1 405 Method Not Allowed swsclose\r
\r
And you should ignore this data.
-</data>
+</connect>
</reply>
HTTP proxy CONNECT to proxy returning 405
</name>
<command>
-http://test.remote.haxx.se:217/path/2170002 --proxy http://%HOSTIP:%HTTPPORT --proxytunnel -w "%{http_code} %{http_connect}\n"
+http://test.remote.example.com.217:%HTTPPORT/path/2170002 --proxy http://%HOSTIP:%HTTPPORT --proxytunnel -w "%{http_code} %{http_connect}\n"
</command>
</client>
^User-Agent: curl/.*
</strip>
<protocol>
-CONNECT test.remote.haxx.se:217 HTTP/1.1\r
-Host: test.remote.haxx.se:217\r
+CONNECT test.remote.example.com.217:%HTTPPORT HTTP/1.1\r
+Host: test.remote.example.com.217:%HTTPPORT\r
Proxy-Connection: Keep-Alive\r
\r
</protocol>