Command-Line REDbot
Thanks to @jeromerenard, REDbot now has command-line support:
> redbot -r http://www.mnot.net/
HTTP/1.1 200 OK
Response Headers:
Date: Fri, 20 Aug 2010 06:08:57 GMT
Server: Apache/2.2.15 (Fedora)
Last-Modified: Tue, 10 Aug 2010 04:08:24 GMT
ETag: "d87c7-f27-48d7048cb9e00"
Accept-Ranges: bytes
Content-Length: 3879
Cache-Control: max-age=3600
Expires: Fri, 20 Aug 2010 07:08:57 GMT
Content-Type: text/html; charset=utf-8
Content-Language: en
Age: 371
X-Cache: HIT from cloud.mnot.net
X-Cache-Lookup: HIT from cloud.mnot.net:80
Via: 1.1 cloud.mnot.net:80 (squid)General:
One or more intermediaries are present.
The Content-Length header is correct.
The server's clock is correct.Caching:
The resource last changed 1 week 3 days ago.
This response allows all caches to store it.
This response has been cached for 6 min 11 sec.
This response is fresh until 53 min 49 sec from now.
This response may still be served by a cache once it becomes stale.Validation:
If-None-Match conditional requests are supported.
If-Modified-Since conditional requests are supported.
HTTP/1.1 200 OK
Response Headers:
Date: Fri, 20 Aug 2010 06:08:57 GMT
Server: Apache/2.2.15 (Fedora)
Last-Modified: Tue, 10 Aug 2010 04:08:24 GMT
ETag: "d87c7-f27-48d7048cb9e00"
Accept-Ranges: bytes
Content-Length: 3879
Cache-Control: max-age=3600
Expires: Fri, 20 Aug 2010 07:08:57 GMT
Content-Type: text/html; charset=utf-8
Content-Language: en
Age: 371
X-Cache: HIT from cloud.mnot.net
X-Cache-Lookup: HIT from cloud.mnot.net:80
Via: 1.1 cloud.mnot.net:80 (squid)General:
One or more intermediaries are present.
The Content-Length header is correct.
The server's clock is correct.Caching:
The resource last changed 1 week 3 days ago.
This response allows all caches to store it.
This response has been cached for 6 min 11 sec.
This response is fresh until 53 min 49 sec from now.
This response may still be served by a cache once it becomes stale.Validation:
If-None-Match conditional requests are supported.
If-Modified-Since conditional requests are supported.
Note that a side effect of this is a change in RED's installation procedure; it now has a Pythonic setup.py file. See the README for more information.