Open
Description
I would like to serve a variety of applications from a single HTTPServer.
Normally, I would just take the various handler dictionaries and merge them somehow. However, one of my applications is a Bokeh server application, which has its own custom subclass of tornado.web.Application
, and I'd rather not try to unpack the logic that that custom subclass does.
In my ideal world I would either ...
-
List all of the applications, and hope that their routes do not intersect
server = web.HTTPServer([app1, app2])
-
Key each application with a prefix
server = web.HTTPServer({"/app1": app1, "/app2": app2})
Is there some way to do something similar today?