l.t.b.SocketClosingOnErrorHandler(urllib2.BaseHandler) : class documentation

Part of lp.testing.browser View In Hierarchy

A handler that ensures that the socket gets closed on errors.

Interestingly enough <wink> without this, a 404 will cause mechanize to leak open socket objects.

Method http_error_default See urllib2.BaseHandler.
def http_error_default(self, req, fp, code, msg, hdrs):
See urllib2.BaseHandler.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.