private function __responseWriteCallback(&$curl, &$data)
	{
		if (in_array($this->response->code, array(200, 206)) && $this->fp !== false)
			return fwrite($this->fp, $data);
		else
			$this->response->body .= $data;
		return strlen($data);
	}
private function __responseWriteCallback(&$curl, &$data)
	{
		if (in_array($this->response->code, array(200, 206)) && $this->fp !== false)
			return fwrite($this->fp, $data);
		else
			$this->response->body .= $data;
		return strlen($data);
	}
private function __responseWriteCallback ( & $ curl , & $ data ) { if ( in_array ( $ this -> response -> code , array ( 200 , 206 ) ) && $ this -> fp !== false ) return fwrite ( $ this -> fp , $ data ) ; else $ this -> response -> body .= $ data ; return strlen ( $ data ) ; }
CURL write callback

@param resource &$curl CURL resource
@param string &$data Data
@return integer
CURL write callback