formats

Fetch HTTP headers with curl

Fetch HTTP headers with curl | A simple curl command can fetch HTTP headers from a website. Here’s how it works! The command is: $ curl -I domain.com Example: stmiller@brahms:~$ curl -I http://scottlinux.com HTTP/1.1 200 OK Date: Sat, 24 Sep 2011 02:53:17 GMT Server: Apache Strict-Transport-Security: max-age=43200; includeSubDomains Set-Cookie: bb2_screener_=1316832797+; path=/ X-Pingback: http://scottlinux.com/xmlrpc.php Set-Cookie: PHPSESSID=erh3jr41d1idkaifote48urph4; path=/ X-Hello: Hello There Vary: Accept-Encoding

Home Posts tagged "HTTP header"