I know that when I set CURLOPT_FOLLOWLOCATION to true, cURL will follow the Location header and redirect to new page. But is it possible only to get header of the new page w
And for analyze headers, your can use CURLOPT_HEADERFUNCTION