def is_font(qurl):
    """ Predicate for create_request
    Is requesting for a web font? Include icons, too

    """
    return qurl.path().endswith(('.ttf', '.ico', '.woff', '.otf')
        ) or qurl.scheme() == 'data' and qurl.path().split(';')[0] in [
        'font/opentype', 'application/x-font-ttf',
        'application/x-font-opentype', 'application/font-woff',
        'application/font-sfnt', 'application/vnd.ms-fontobject',
        'image/svg+xml'] or qurl.path().endswith('.svg'
        ) and 'font' in qurl.path()
