public function convertHeaderArrayToHeaders(array $headerArray){
         $headers = array();
         foreach($headerArray as $k => $v){
              $headers[] = $k . ":" . $v;
         }
         return $headers;
    }
public function convertHeaderArrayToHeaders(array $headerArray){
         $headers = array();
         foreach($headerArray as $k => $v){
              $headers[] = $k . ":" . $v;
         }
         return $headers;
    }
public function convertHeaderArrayToHeaders ( array $ headerArray ) { $ headers = array ( ) ; foreach ( $ headerArray as $ k => $ v ) { $ headers [ ] = $ k . ":" . $ v ; } return $ headers ; }
Convert an Array to Curl Headers
@param array $headerArray The request headers
@return array Curl Headers
Convert an Array to Curl Headers