un-nest curl
This commit is contained in:
49
curl-8.15.0/tests/data/test372
Normal file
49
curl-8.15.0/tests/data/test372
Normal file
@@ -0,0 +1,49 @@
|
||||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
HTTP
|
||||
HTTP GET
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
<reply>
|
||||
<data>
|
||||
HTTP/1.1 200 OK
|
||||
Date: Thu, 22 Jul 2010 11:22:33 GMT
|
||||
Connection: close
|
||||
Content-Type: text/html
|
||||
X-Control: swsclose
|
||||
Content-Length: 2
|
||||
|
||||
%hex[%00]hex%
|
||||
</data>
|
||||
</reply>
|
||||
|
||||
<client>
|
||||
<server>
|
||||
http
|
||||
</server>
|
||||
<name>
|
||||
Binary zero in data element.
|
||||
</name>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
<command>
|
||||
--raw http://%HOSTIP:%HTTPPORT/binary-zero-in-data-section/%TESTNUMBER
|
||||
</command>
|
||||
</client>
|
||||
|
||||
<verify>
|
||||
<protocol>
|
||||
GET /binary-zero-in-data-section/%TESTNUMBER HTTP/1.1
|
||||
Host: %HOSTIP:%HTTPPORT
|
||||
User-Agent: curl/%VERSION
|
||||
Accept: */*
|
||||
|
||||
</protocol>
|
||||
<errorcode>
|
||||
0
|
||||
</errorcode>
|
||||
</verify>
|
||||
</testcase>
|
||||
Reference in New Issue
Block a user