X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fsend_file_007.phpt;h=1ee12cca21cb27a3ebbddf0d2d0718a3d2b6eb75;hb=dd07cdeb2ed9752a82c9d052b42af2d639a785fd;hp=a33754630cab0ef9792c1f466a3f92828f34e22b;hpb=4a1c5914eccd82e0936f35f0804a9e35ed632f83;p=m6w6%2Fext-http diff --git a/tests/send_file_007.phpt b/tests/send_file_007.phpt index a337546..1ee12cc 100644 --- a/tests/send_file_007.phpt +++ b/tests/send_file_007.phpt @@ -1,17 +1,22 @@ --TEST-- -http_send_file() oversized range +http_send_file() NIL-NIL range --SKIPIF-- --ENV-- -HTTP_RANGE=bytes=-1111 +HTTP_RANGE=bytes=0-0 --FILE-- --EXPECTF-- -Status: 416 -Content-type: text/html +Status: 206 X-Powered-By: PHP/%s +Accept-Ranges: bytes +Content-Range: bytes 0-0/1010 +Content-Length: 1 +Content-type: %s + +0