Add test372: binary zero in data element
This commit is contained in:
parent
592880a3ca
commit
33d0503103
@ -61,7 +61,7 @@ test334 test335 test336 test337 test338 test339 test340 test341 test342 \
|
||||
test343 test344 test345 test346 test347 test348 test349 test350 test351 \
|
||||
test352 test353 test354 test355 test356 test357 test358 test359 test360 \
|
||||
test361 test362 test363 test364 test365 test366 test367 test368 test369 \
|
||||
test370 test371 \
|
||||
test370 test371 test372 \
|
||||
\
|
||||
test392 test393 test394 test395 test396 test397 \
|
||||
\
|
||||
|
||||
49
tests/data/test372
Normal file
49
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>
|
||||
Loading…
Reference in New Issue
Block a user