curl -I
This article is a stub. You can help the IndieWeb wiki by expanding it.
curl -I is a command line option for the curl command that takes no parameters and tells curl to retrieve the HTTP-header only using the HTTP HEAD command.
Equivalent in PHP for setting curl options in a $c variable:
curl_setopt($c, CURLOPT_HEADER, true);