X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fsend_data_008.phpt;h=3a695636cb7601c2b94cf45d5801d95e43f9b0b4;hb=ac6011fd12223817daa9ab93f8208da0281022b6;hp=eb2a9e072fc039e61b8d2d10b1285ef5233f3054;hpb=f475c8d0d6c24a597cef6e6a441e1fc53578cb84;p=m6w6%2Fext-http diff --git a/tests/send_data_008.phpt b/tests/send_data_008.phpt index eb2a9e0..3a69563 100644 --- a/tests/send_data_008.phpt +++ b/tests/send_data_008.phpt @@ -1,19 +1,33 @@ --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%s 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--