import re


def _pass_through(request):
    """pass through for trivial requests."""
    path = request.path
    pattern = "^/(log/|site_media/|favicon.ico)"
    return re.compile(pattern).match(path)