def get_application() -> web.Application: return web.Application([ ('/', MainHandler), ('/1', LinkHandler1), ('/redirect1', RedirectHandler1), ('/redirect2', RedirectHandler2), ], logging='error')