/** * To set http headers. This function will merge the $headers with existing * headers. * * @param array $headers */ public function ApplyHeaders($headers = array()) { $this->Headers->CopyFrom($headers); }