protected function prepareHeaders()
    {
        $headers = array();

        foreach ($this->headers as $header => $value) {
            $headers[] = $header.': '.$value;
        }

        return $headers;
    }
protected function prepareHeaders()
    {
        $headers = array();

        foreach ($this->headers as $header => $value) {
            $headers[] = $header.': '.$value;
        }

        return $headers;
    }
protected function prepareHeaders ( ) { $ headers = array ( ) ; foreach ( $ this -> headers as $ header => $ value ) { $ headers [ ] = $ header . ': ' . $ value ; } return $ headers ; }
Converts the headers array to the cURL's option format array

@return array
Converts the headers array to the cURL s option format array