/usr/lib/python3/dist-packages/klaus/contrib/wsgi.py is in python3-klaus 1.2.1-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | from klaus import make_app
from .app_args import get_args_from_env
args, kwargs = get_args_from_env()
if kwargs['htdigest_file']:
with open(kwargs['htdigest_file']) as file:
kwargs['htdigest_file'] = file
application = make_app(*args, **kwargs)
else:
application = make_app(*args, **kwargs)
|