print("****** Testing Static File *********")
@class_logger
class static_file(AuthorizationHandler):
URL_PATTERN = r"/v2/download/(file|static_file)$"
def do_get(self,version,api):
static_path= pathlib.Path(pkg_resources.resource_filename("nzrest.app.data", "web")),
static_url_prefix= str(static_path),
print("static_file passed",api)
print("*************************************")
return HTTPResponse(200, 'OK', static_path)
//any help on this would be very much appreciated.