

def extraData(self):
    data = {
        
    }
    cgi_vars = data[('extra', 'CGI Variables')] = {
        
    }
    wsgi_vars = data[('extra', 'WSGI Variables')] = {
        
    }
    hide_vars = ['paste.config', 'wsgi.errors', 'wsgi.input', 'wsgi.multithread', 'wsgi.multiprocess', 'wsgi.run_once', 'wsgi.version', 'wsgi.url_scheme']
    for (name, value) in self.environ.items():
        if (name.upper() == name):
            if value:
                cgi_vars[name] = value
        elif (name not in hide_vars):
            wsgi_vars[name] = value
    if (self.environ['wsgi.version'] != (1, 0)):
        wsgi_vars['wsgi.version'] = self.environ['wsgi.version']
    proc_desc = tuple([int(bool(self.environ[key])) for key in ('wsgi.multiprocess', 'wsgi.multithread', 'wsgi.run_once')])
    wsgi_vars['wsgi process'] = wsgi_vars.process_combos[proc_desc]
    wsgi_vars['application'] = self.middleware.application
    if ('paste.config' in self.environ):
        data[('extra', 'Configuration')] = dict(self.environ['paste.config'])
    return data

dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Paste-2.0.1/paste/exceptions/errormiddleware.py Supplement.extraData/VarMisuse@198/312 `self`->`wsgi_vars`