def __call__(self, environ, start_response):
        if self.stat_path is not None:
            path = environ['PATH_INFO']
            if path == self.stat_path or path.startswith(self.stat_path + '/'):
                return self.stat_application(environ, start_response)
        try:
            referer = environ['HTTP_REFERER']
        except __HOLE__:
            pass
        else:
            self.referer_set.add(referer)
        return self.application(environ, start_response)
dataset/ETHPy150Open dahlia/sider/examples/wsgi-referer-stat/sider_wsgi_referer_stat/__init__.py/RefererStatMiddleware.__call__