def f07(res, req, resp):
    encodings = res.encodings_provided(req, resp)
    if encodings is not None:
        encodings = [enc for (enc, func) in encodings]
        enc = req.accept_encoding.best_match(encodings)
        if enc is None:
            return False
        resp.content_encoding = enc
    return True
Acceptable encoding available?
dataset/ETHPy150Open benoitc/dj-webmachine/webmachine/decisions.py/f07