gws.ext.action.asset

Serve dynamic assets.

class gws.ext.action.asset.Config(*args, **kwargs)[source]

Asset generation action

class gws.ext.action.asset.GetPathParams(*args, **kwargs)[source]
class gws.ext.action.asset.GetResultParams(*args, **kwargs)[source]
class gws.ext.action.asset.Object[source]
api_get(req: gws.types.IRequest, p: gws.ext.action.asset.GetPathParams) → gws.types.HttpResponse[source]

Return an asset under the given path and project

http_get_path(req: gws.types.IRequest, p: gws.ext.action.asset.GetPathParams) → gws.types.HttpResponse[source]
http_get_download(req: gws.types.IRequest, p) → gws.types.HttpResponse[source]