Lines Matching refs:content
328 throw new HTTPClientException('Reported content length exceeds allowed response size');
330 $this->error = 'Reported content length exceeds allowed response size';
366 // close the connection because we don't handle content retrieval here
433 }elseif(isset($this->resp_headers['content-length']) && !isset($this->resp_headers['transfer-encoding'])){
439 // read up to the content-length or max_bodysize
444 $this->max_bodysize < $this->resp_headers['content-length']
448 $length = $this->resp_headers['content-length'];
451 $r_body = $this->readData($socket, $length, 'response (content-length limited)', true);
453 $r_body = $this->readData($socket, $this->max_bodysize+1, 'response (content-length limited)', true);
455 // request has no content
491 if(isset($this->resp_headers['content-encoding']) &&
492 $this->resp_headers['content-encoding'] == 'gzip' &&
496 $this->error = 'Failed to decompress gzip encoded content';
731 $content = htmlspecialchars(ob_get_contents());
733 print '<pre>'.$content.'</pre>';