In TiddlyWeb a handler is the name used for a piece of code which is a WSGI application that responds to a web request made to a URI listed in the urls.map or added via a plugin. A plugin may also replace an existing defined URI with a new handler.
Handler code can interact with the store and available serializers and return data directly or can set up an appropriate environment before calling other handlers.