<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_application(self, environ):
 """ Retrieve an application for a wsgi environ :param environ: The environ object sent by wsgi to an application """

        host = self._get_host(environ)
        subdomain = self._extract_subdomain(host)
        return self._get_application(subdomain)