X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2Fsend_file_004.phpt;fp=tests%2Fsend_file_004.phpt;h=a9da0b13ddad62896aefec1bb857d06703385312;hp=0000000000000000000000000000000000000000;hb=2d5d8aa343778897c7eedb25464a2cb0a789d748;hpb=5853f70523cc38387dc35e2e8b81f2b8b69f909b diff --git a/tests/send_file_004.phpt b/tests/send_file_004.phpt new file mode 100644 index 0000000..a9da0b1 --- /dev/null +++ b/tests/send_file_004.phpt @@ -0,0 +1,20 @@ +--TEST-- +http_send_file() NUM-NIL range +--SKIPIF-- + +--ENV-- +HTTP_RANGE=bytes=1000- +--FILE-- + +--EXPECTF-- +Status: 206 +Content-type: text/html +X-Powered-By: PHP/%s +Accept-Ranges: bytes +Content-Range: bytes 1000-1009/1010 + +123456789