X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2Fsend_file_007.phpt;fp=tests%2Fsend_file_007.phpt;h=1ee12cca21cb27a3ebbddf0d2d0718a3d2b6eb75;hp=0000000000000000000000000000000000000000;hb=ecec060bd65badb1139497b30b30cafd1161b50d;hpb=76e122adc1282ee43b222d5f3dbec2a11fe29ca5 diff --git a/tests/send_file_007.phpt b/tests/send_file_007.phpt new file mode 100644 index 0000000..1ee12cc --- /dev/null +++ b/tests/send_file_007.phpt @@ -0,0 +1,22 @@ +--TEST-- +http_send_file() NIL-NIL range +--SKIPIF-- + +--ENV-- +HTTP_RANGE=bytes=0-0 +--FILE-- + +--EXPECTF-- +Status: 206 +X-Powered-By: PHP/%s +Accept-Ranges: bytes +Content-Range: bytes 0-0/1010 +Content-Length: 1 +Content-type: %s + +0