Lines Matching defs:content
323 throw new HTTPClientException('Reported content length exceeds allowed response size');
324 else $this->error = 'Reported content length exceeds allowed response size';
360 // close the connection because we don't handle content retrieval here
428 isset($this->resp_headers['content-length']) &&
436 // read up to the content-length or max_bodysize
441 $this->max_bodysize < $this->resp_headers['content-length']
445 $length = $this->resp_headers['content-length'];
448 $r_body = $this->readData($socket, $length, 'response (content-length limited)', true);
450 $r_body = $this->readData($socket, $this->max_bodysize + 1, 'response (content-length limited)', true);
452 // request has no content
490 isset($this->resp_headers['content-encoding']) &&
491 $this->resp_headers['content-encoding'] == 'gzip' &&
496 $this->error = 'Failed to decompress gzip encoded content';
746 $content = htmlspecialchars(ob_get_contents());
748 echo '<pre>' . $content . '</pre>';