code: def filter_factory(global_conf, **local_conf):
      
      conf = global_conf.copy()
      conf.update(local_conf)
  
      def wrapper(app):
          return ResponseAsyncIdAdder(app, conf)
  
      return wrapper
docs: Returns a WSGI filter app for use with paste.deploy.