[Python-au] help debugging cacheability.py
david at jadescape.com
Sat Jul 16 15:12:50 CEST 2005
Hello, I'm trying to get the cacheability script from
http://www.mnot.net/cacheability/download.html working with python 2.3.4
It works fine with python 1.5.2
Here's two test URLs to demonstrate the problem:
Traceback (most recent call last):
File "./cacheability.py", line 994, in ?
File "./cacheability.py", line 961, in clui_main
File "/var/www/cgi-bin/cacheability/spider.py", line 355, in __repr__
p(" Cache-Control: %s" % (self._hdrs.get('cache-control', self.no_data)))
File "/var/www/cgi-bin/cacheability/httpheadertypes.py", line 280, in
Expires: Sun, 17 Jan 2038 19:14:07 GMT
Last-Modified: Mon, 25 Apr 2005 21:06:18 GMT (validated)
I'm guessing that one of the headers that IIS is sending is breaking the
script? But not in an old version of python.
Any suggestions as to where I should be looking to fix it?
More information about the python-au