X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fsend_file_001.phpt;fp=tests%2Fsend_file_001.phpt;h=b2cf8b0000219fe7ea6daa516d85d87668418cce;hb=2d5d8aa343778897c7eedb25464a2cb0a789d748;hp=0000000000000000000000000000000000000000;hpb=5853f70523cc38387dc35e2e8b81f2b8b69f909b;p=m6w6%2Fext-http diff --git a/tests/send_file_001.phpt b/tests/send_file_001.phpt new file mode 100644 index 0000000..b2cf8b0 --- /dev/null +++ b/tests/send_file_001.phpt @@ -0,0 +1,25 @@ +--TEST-- +http_send_file() +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +Content-type: text/html +X-Powered-By: PHP/%s +Accept-Ranges: bytes + +0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 +0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 +0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 +0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 +0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 +0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 +0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 +0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 +0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 +0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789