Skip to content

Instantly share code, notes, and snippets.

@netdesign
Created February 8, 2012 12:45
Show Gist options
  • Save netdesign/1769100 to your computer and use it in GitHub Desktop.
Save netdesign/1769100 to your computer and use it in GitHub Desktop.
some cUrl requests
curl http://www.mydomain.com -H "Accept-Encoding: gzip, deflate" -I
HTTP/1.1 200 OK
Date: Wed, 08 Feb 2012 12:44:18 GMT
Server: Apache/2.2.3 (CentOS)
X-Powered-By: PHP/5.1.6
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Length: 20
Content-Type: text/html; charset=UTF-8
curl http://www.mydomain.com -I
HTTP/1.1 200 OK
Date: Wed, 08 Feb 2012 12:44:24 GMT
Server: Apache/2.2.3 (CentOS)
X-Powered-By: PHP/5.1.6
Vary: Accept-Encoding
Content-Type: text/html; charset=UTF-8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment