4 <?php include "skipif.inc"; ?>
8 HTTP_ACCEPT_ENCODING=gzip
12 $r = new http\env\Response;
13 $r->setHeader("foo","bar");
14 $r->setContentEncoding(http\env\Response::CONTENT_ENCODING_GZIP);
15 $r->setBody(new http\message\Body(fopen(__FILE__,"r")));
20 Content-Encoding: gzip