archivebox.misc.monkey_patches

Module Contents

Classes

ModifiedAccessLogGenerator

Clutge workaround until daphne uses the Python logging framework. https://github.com/django/daphne/pull/473/files

Data

SENSITIVE_QUERY_PARAM_RE

API

archivebox.misc.monkey_patches.SENSITIVE_QUERY_PARAM_RE[source]

‘compile(…)’

class archivebox.misc.monkey_patches.ModifiedAccessLogGenerator[source]

Bases: daphne.access.AccessLogGenerator

Clutge workaround until daphne uses the Python logging framework. https://github.com/django/daphne/pull/473/files

__call__(protocol, action, details)[source]
write_entry(host, date, request, status=None, length=None, ident=None, user=None, time_taken=None)[source]