def patch_cache_control(response, **kwargs):
    def dictitem(s):
        t = s.split('=',1)
        if len(t) > 1:
            return (t[0].lower().replace('-', '_'), t[1])
        else:
            return (t[0].lower().replace('-', '_'), True)

    def dictvalue(t):
        if t[1] == True:
            return t[0]
        else:
            return t[0] + '=' + str(t[1])

    if response.has_header('Cache-Control'):
        cc = cc_delim_re.split(response['Cache-Control'])
        cc = dict([dictitem(el) for el in cc])
    else:
        cc = {}
    for (k,v) in kwargs.items():
        cc[k.replace('_', '-')] = v
    cc = ', '.join([dictvalue(el) for el in cc.items()])
    response['Cache-Control'] = cc
A numeric representation of the version of LibRaw which we have linked
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-0.96/django/utils/cache.py/patch_cache_control--crossover with--dataset/ETHPy150Open photoshell/rawkit/libraw/bindings.py/LibRaw.version_number