When using the PHP curl functions, is there anyway to see the exact raw headers that curl is sending to the server?
be sure to set the CURLINFO_HEADER_OUT option before making the curl_getinfo call
curl_setopt($c, CURLINFO_HEADER_OUT, true);