Categories
Posts

reddit.com HTTP Response Headers

I found an old note to myself to look at the HTTP response headers for reddit.com. So I did this:

$ curl -v -s http://www.reddit.com/ > /dev/null
* About to connect() to www.reddit.com port 80 (#0)
* Trying 69.22.154.10…
* connected
* Connected to www.reddit.com (69.22.154.10) port 80 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0 OpenSSL/0.9.8r zlib/1.2.5
> Host: www.reddit.com
> Accept: */*
>
Server: ‘; DROP TABLE servertypes; —
little Bobby tables from xkcd.

I’m sure this has made the rounds in other places. Unfortunately my note didn’t indicate where I first saw this.