X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2Fsend_data_003.phpt;fp=tests%2Fsend_data_003.phpt;h=00344e702c203c74808dbc06bfef589668162a9b;hp=0000000000000000000000000000000000000000;hb=2d5d8aa343778897c7eedb25464a2cb0a789d748;hpb=5853f70523cc38387dc35e2e8b81f2b8b69f909b diff --git a/tests/send_data_003.phpt b/tests/send_data_003.phpt new file mode 100644 index 0000000..00344e7 --- /dev/null +++ b/tests/send_data_003.phpt @@ -0,0 +1,21 @@ +--TEST-- +http_send_data() NUM-NIL range +--SKIPIF-- + +--ENV-- +HTTP_RANGE=bytes=5981- +--FILE-- + +--EXPECTF-- +Status: 206 +X-Powered-By: PHP/%s +Content-Type: text/plain +Accept-Ranges: bytes +Content-Range: bytes 5981-5999/6000 + +c123abc123abc123abc \ No newline at end of file