X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fsend_data_008.phpt;h=7de621d9c946f8cd1d278286b7634dee0d2b8a23;hb=dd07cdeb2ed9752a82c9d052b42af2d639a785fd;hp=cb0fc6df094c61cc7b5c7f2480456bb963406005;hpb=3f97cec39ebeae3bdafc082d310e878f995b04e8;p=m6w6%2Fext-http diff --git a/tests/send_data_008.phpt b/tests/send_data_008.phpt index cb0fc6d..7de621d 100644 --- a/tests/send_data_008.phpt +++ b/tests/send_data_008.phpt @@ -1,19 +1,32 @@ --TEST-- -http_send_data() HTTP_SENDBUF_SIZE long string +http_send_data() multiple ranges --SKIPIF-- +--ENV-- +HTTP_RANGE=bytes=0-0,-1 --FILE-- --EXPECTF-- -Content-type: text/html +Status: 206 X-Powered-By: PHP/%s Accept-Ranges: bytes -Content-Length: 20 +Content-Type: multipart/byteranges; boundary=%d.%d -00000000000000000000 \ No newline at end of file + +--%d.%d +Content-Type: text/plain +Content-Range: bytes 0-0/2 + +0 +--%d.%d +Content-Type: text/plain +Content-Range: bytes 1-1/2 + +1 +--%d.%d--