src/Request/CurlRequestUtil.php
protected function prepareHeaders(array $headers)
    {
        $preparedHeaders = [];

        foreach ($headers as $strName => $varValue) {
            $preparedHeaders[] = $strName.': '.$varValue;
        }

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

        foreach ($headers as $strName => $varValue) {
            $preparedHeaders[] = $strName.': '.$varValue;
        }

        return $preparedHeaders;
    }
protected function prepareHeaders ( array $ headers ) { $ preparedHeaders = [ ] ; foreach ( $ headers as $ strName => $ varValue ) { $ preparedHeaders [ ] = $ strName . ': ' . $ varValue ; } return $ preparedHeaders ; }
Prepare headers for curl handle.

@param array $headers

@return array
Prepare headers for curl handle .