Class: QgsServerStaticHandler¶
The QgsServerStaticHandler
class serves static files from
the static path (resources/server/api/wfs3/static)
See also
QgsServerOgcApiHandler.staticPath()
Added in version 3.16.
Class Hierarchy¶
Base classes¶
The |
- class qgis.server.QgsServerStaticHandler[source]¶
Bases:
QgsServerOgcApiHandler
- __init__(pathRegExp: str | None = '', staticPathSuffix: str | None = '')
Creates QgsServerStaticHandler
- Parameters:
pathRegExp (Optional[str] = '') – optional regular expression to capture static file names, defaults to “/static/(?<staticFilePath>.*)$”, note that the file path is captured in a named group “staticFilePath”
staticPathSuffix (Optional[str] = '') – optional path suffix to use when static files are stored in a subdirectory of the default
staticPath()
See also
- __init__(a0: QgsServerStaticHandler)
- Parameters: