registerWSGIApp(application=(), path=None, ports=[])
This function allows you to hook in a wsgi capable application such as flask or django and use the houdini web server as the server backend.
import os import hwebserver import testsite.wsgi hwebserver.registerWSGIApp(testsite.wsgi.application, "/") hwebserver.run(8000, debug=True)
Note
Currently multi part form requests are not fully supported with wsgi. If you need to use these requests you can continue to use hou url handlers.