--TEST-- ranges --SKIPIF-- --GET-- a=b --ENV-- HTTP_RANGE=bytes=-3,000-001,1-1,0-0,100- --FILE-- setBody(new http\Message\Body(fopen(__FILE__, "rb"))); $r->send(); ?> --EXPECTF-- --%s%c Content-Type: application/octet-stream%c Content-Range: bytes 107-109/110%c %c ?> %c --%s%c Content-Type: application/octet-stream%c Content-Range: bytes 0-1/110%c %c %c --%s--