Ticket #4071: django_cache.diff
File django_cache.diff, 495 bytes (added by , 18 years ago) |
---|
-
django/utils/cache.py
55 55 cc = {} 56 56 for (k,v) in kwargs.items(): 57 57 cc[k.replace('_', '-')] = v 58 cc = ', '.join([dictvalue(el) for el in cc.items()])58 cc = ', '.join([dictvalue(el).replace('_', '-') for el in cc.items()]) 59 59 response['Cache-Control'] = cc 60 60 61 61 vary_delim_re = re.compile(r',\s*')