<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def app(environ, start_response):
 """Function called by the WSGI server."""

    r = HttpRequestHandler(environ, start_response, Router).dispatch()
    return r