2 env response stream cache negative
4 <?php include "skipif.inc"; ?>
8 HTTP_IF_MODIFIED_SINCE=Fri, 13 Feb 2009 23:31:30 GMT
9 HTTP_IF_NONE_MATCH=0000-00-0000
13 $r = new http\Env\Response;
14 $r->setBody(new http\Message\Body(fopen(__FILE__,"rb")));
16 $r->setLastModified(1234567891);
19 var_dump(stream_get_contents($f));
22 string(%d) "HTTP/1.1 200 OK%c
23 Accept-Ranges: bytes%c
27 Transfer-Encoding: chunked%c
32 $r = new http\Env\Response;
33 $r->setBody(new http\Message\Body(fopen(__FILE__,"rb")));
35 $r->setLastModified(1234567891);
38 var_dump(stream_get_contents($f));