routes.static ============= .. py:module:: routes.static .. autoapi-nested-parse:: Static/basic route handlers for the webapp HTTP API. Functions --------- .. autoapisummary:: routes.static.get_root routes.static.get_text_asset routes.static.get_binary_asset routes.static.get_health routes.static.get_favicon Module Contents --------------- .. py:function:: get_root(handler, html_template) Serve the single-page web UI shell. .. py:function:: get_text_asset(handler, *, content, content_type) Serve one UTF-8 static text asset (for example CSS/JS). .. py:function:: get_binary_asset(handler, *, payload, content_type) Serve one binary static asset (for example WOFF2 fonts). .. py:function:: get_health(handler) Return a lightweight liveness response. .. py:function:: get_favicon(handler) Reply to browser favicon probes without noisy 404 logs.