code: def setup_environ(self):
          
          # Set up base environment
          env = self.base_environ = {}
          env['SERVER_NAME'] = self.server_name
          env['GATEWAY_INTERFACE'] = 'CGI/1.1'
          env['SERVER_PORT'] = str(self.server_port)
          env['REMOTE_HOST'] = ''
          env['CONTENT_LENGTH'] = ''
          env['SCRIPT_NAME'] = ''
docs: https://www.python.org/dev/peps/pep-0333/#environ-variables