def raise_415(instance, msg=None):
    instance.response.status = 415
    if msg:
        instance.response.body_raw = {'error': msg}
    raise ResponseException(instance.response)
Aho-Corasick-based matching with Word Boundaries
dataset/ETHPy150Open pneff/wsgiservice/wsgiservice/status.py/raise_415--crossover with--dataset/ETHPy150Open adamhadani/logtools/logtools/test/test_logtools.py/FilterTestCase.testACWB