private $db;
private $curl_code;
+ private $curl_content_type;
private $curl_headers;
private $cached_profile_image;
return $this->curl_code;
}
+ function set_curl_content_type($content_type) {
+ $this->curl_content_type = $content_type;
+ }
+
+ function get_curl_content_type() {
+ return $this->curl_content_type;
+ }
+
function set_curl_headers($headers) {
$this->curl_headers = $headers;
}
}
$a->set_curl_code($http_code);
+ $a->set_curl_content_type($curl_info['content_type']);
$body = substr($s,strlen($header));
$a->set_curl_headers($header);