def scan_nested_content(self): Cache.scan_nested_content(self) for url in self.nested_content.keys(): host, port, upath = parse_URL(url) if upath.startswith("/action/UploadDocument/"): del self.nested_content[url]
def __init__(self, url, filename=None, bits=None, content_type=None): Cache.__init__(self, url, filename=filename, bits=bits, content_type=content_type)