rhino.staticclass StaticDirectoryResource for serving static files from a directory.
Must be mapped to a route including a template parameter named path. Example:
from rhino import Mapper, StaticDirectory
app = Mapper()
app.add('/static/{path:any}', StaticDirectory('./static'))
Setting the path parameter's range to any, which includes '/', enables serving files from subdirectories of './static'.
__init__(root, expires=None)class StaticFileResource for serving a static file.
__init__(path, content_type=None, expires=None)