X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2Fsend_file_007.phpt;h=09f11671d416f9b55843e641944253d3584f2fca;hp=966129c8fe56b2323c71f8e9ae450098ecd74fbc;hb=refs%2Fheads%2Fv1.7.x;hpb=96d059e9210a6677427392d615bc42ab38b3b432 diff --git a/tests/send_file_007.phpt b/tests/send_file_007.phpt index 966129c..09f1167 100644 --- a/tests/send_file_007.phpt +++ b/tests/send_file_007.phpt @@ -1,18 +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: %s +Status: 206%s X-Powered-By: PHP/%s +Accept-Ranges: bytes +Content-Range: bytes 0-0/1010 +Content-Length: 1 +Content-type: %s + +0