X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fsend_file_007.phpt;h=47c4b24380f4410936d1b8b658eea449a29f1ab8;hb=378dd0f912b3139f1a797cf19e7c4eb88d33f141;hp=289faf7c1cc45d53506ca44d116a8b6c26ad445d;hpb=2d5d8aa343778897c7eedb25464a2cb0a789d748;p=m6w6%2Fext-http diff --git a/tests/send_file_007.phpt b/tests/send_file_007.phpt index 289faf7..47c4b24 100644 --- a/tests/send_file_007.phpt +++ b/tests/send_file_007.phpt @@ -1,16 +1,23 @@ --TEST-- -http_send_file() oversized range +http_send_file() NIL-NIL range --SKIPIF-- --ENV-- -HTTP_RANGE=bytes=-1111 +HTTP_RANGE=bytes=0-0 --FILE-- --EXPECTF-- -Status: 416 -Content-type: text/html +Status: 206 X-Powered-By: PHP/%s +Accept-Ranges: bytes +Content-Range: bytes 0-0/1010 +Content-Length: 1 +Content-type: %s + +0