--- urllib.py- 2006-12-17 02:11:34.000000000 -0500 +++ urllib.py 2006-12-20 01:31:00.000000000 -0500 @@ -354,7 +354,7 @@ """Default error handler: close the connection and raise IOError.""" void = fp.read() fp.close() - raise IOError, ('http error', errcode, errmsg, headers) + raise IOError, ('http error', errcode, errmsg) if hasattr(socket, "ssl"): def open_https(self, url, data=None):