mirror of
https://github.com/curl/curl.git
synced 2026-06-13 17:15:37 +03:00
49 lines
673 B
XML
49 lines
673 B
XML
<?xml version="1.0" encoding="US-ASCII"?>
|
|
<testcase>
|
|
<info>
|
|
<keywords>
|
|
HTTP
|
|
HTTP CONNECT
|
|
HTTP proxy
|
|
proxytunnel
|
|
</keywords>
|
|
</info>
|
|
|
|
# Server-side
|
|
<reply>
|
|
<data nocheck="yes">
|
|
HTTP/1.1 200 OK
|
|
Content-Length: 0
|
|
|
|
</data>
|
|
<connect nocheck="yes">
|
|
HTTP/1.1 200 OK%CR
|
|
X-Evil: he%hex[%00]hex%llo%CR
|
|
%CR
|
|
</connect>
|
|
</reply>
|
|
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
http
|
|
http-proxy
|
|
</server>
|
|
<features>
|
|
proxy
|
|
</features>
|
|
<name>
|
|
HTTP CONNECT response with a nul byte in a header
|
|
</name>
|
|
<command>
|
|
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -p -x http://%HOSTIP:%PROXYPORT
|
|
</command>
|
|
</client>
|
|
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<errorcode>
|
|
8
|
|
</errorcode>
|
|
</verify>
|
|
</testcase>
|