X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fsend_file_002.phpt;fp=tests%2Fsend_file_002.phpt;h=5abf11878b53427d07ec3fee7d8351aca0f552a5;hb=2d5d8aa343778897c7eedb25464a2cb0a789d748;hp=0000000000000000000000000000000000000000;hpb=5853f70523cc38387dc35e2e8b81f2b8b69f909b;p=m6w6%2Fext-http diff --git a/tests/send_file_002.phpt b/tests/send_file_002.phpt new file mode 100644 index 0000000..5abf118 --- /dev/null +++ b/tests/send_file_002.phpt @@ -0,0 +1,20 @@ +--TEST-- +http_send_file() NUM-NUM range +--SKIPIF-- + +--ENV-- +HTTP_RANGE=bytes=5-9 +--FILE-- + +--EXPECTF-- +Status: 206 +Content-type: text/html +X-Powered-By: PHP/%s +Accept-Ranges: bytes +Content-Range: bytes 5-9/1010 + +56789 \ No newline at end of file