code: def get_application(self, environ):
          
          host = self._get_host(environ)
          subdomain = self._extract_subdomain(host)
          return self._get_application(subdomain)
docs: Retrieve an application for a wsgi environ
  
          :param environ: The environ object sent by wsgi to an application