head.daveops.net

Snippets for yer computer needs

HTTP

HTTP

Telnet access ————-

GET / HTTP/1.1
host: daveops.net
<line feed>

Get request headers

curl -i example.com

See if server uses gzip/deflate

curl -I -H 'Accept-Encoding: gzip,deflate' http://example.com

HTTP response codes

1xx Informational

2xx Success

3xx Redirection

4xx Client Error

5xx Server Error