setContentAndHeaders($content, $headers); } public function setContentAndHeaders($content, $headers) { $this->content = $content; $this->headers = $headers; } public function setContent($content) { $this->content = $content; return $this; } public function setHeaders(array $headers) { $this->headers = $headers; return $this; } public function getContent() { return (string) $this->content; } public function getHeaders() { return (array) $this->headers; } public function __toString() { return $this->getContent(); } /** * Returns whether the content is gzipped * * @access public * @return boolean */ public function isGzipped() { $ret = false; foreach ($this->getHeaders() as $header) { if (0 === strpos(strtolower($header), 'content-encoding')) { if (false !== strpos($header, 'gzip')) { $ret = true; } break; } } return $ret; } } __halt_compiler();----SIGNATURE:----OW+2/ZceQCW8rae7JE3S0gzK0CaY8ssYsh6W7+jVI63vCgiZIE5sFKMTfvhrVgcJmfbtqb93cm+uZtA/pDEla3Z/qdg94t0JCxeC8786bY1pcweiY2SyLd5Aej4NnH69bxWiKLF6xd6HMwpAHCdJjzXri7ci0dC+XaBP9EE8KTmDvB+ryDOB8A2G3+rtjVb6242yfQ572NWg8OZDwqCkbQEbnwj5mAXZMgFLKDeUvsfa/1S6Ufzh7tkMyeYkjyVUVHbmS4KoRNhLw6N5HpGIXKLPVxEdxXKDZ+0fiva0Ectz9jL1bXOZl7K8cyMSOeIAR0N1LihWlhudrfYEbgGl1IzSAo1chuJ828RmGeblOiH8X6xNmVP1+pyMRLi+xvkOgkE2XOO7SDem6F3M+v+dwiqDXzHsO87zn7SBlcv00EwdkRlVOMwnCsJP9zCdqFqWYMhFkkJzFY8h9T3EUXIcgK5iJo5IIWIndtj5gVgUgJThOak3IdAkLnYMbXwE/y//sBT80cQaZeicwfejPbWkLZlRD1Yf1XNDkh2bFqaD7xvb2PVIYLPXjetL2agKIflYSNZ9qSyCi4pNn4gmNAtSew3sSZOr+3fy5pC9oA/fRPh5P0rYD4Vo+oomEd6dTgHO270l2pz9aD1kO0oIMT3RIYjOGJf6KjoaxCLJQzK84C8=----ATTACHMENT:----OTQxOTg5NTQxODUwMDc4MSA3NDE5MDg4NjA0NjIxOTc1IDIxNDMxOTYxNjkyNTc5MjQ=