solvit.io

Dump the HTTP headers of a web page without downloading it

curl
$ curl -I http://example.org

HTTP/1.1 200 OK
Content-Encoding: gzip
Content-Type: text/html
...
wget
$ wget --server-response --spider http://www.example.org

Spider mode enabled. Check if remote file exists.
Resolving www.example.org... 93.184.216.34, 2606:2800:220:1:248:1893:25c8:1946
Connecting to www.example.org|93.184.216.34|:80... connected.
HTTP request sent, awaiting response...
  HTTP/1.1 200 OK
  Content-Encoding: gzip
  Content-Type: text/html
  ...
Length: 606 [text/html]
Remote file exists and could contain further links,
but recursion is disabled -- not retrieving.
Find more solutions about: , , , ,