#NEWLINE# def cache_control( * directives ) : #NEWLINE# #INDENT# def decorator( f ) : #NEWLINE# #INDENT# @ functools . wraps ( f ) #NEWLINE# def wrapped( * args , **kwargs ) : #NEWLINE# #INDENT# rv = f ( * args , ** kwargs ) #NEWLINE# rv = make_response ( rv ) #NEWLINE# rv . headers [ 'Cache-Control' ] = ', ' . join ( directives ) #NEWLINE# return rv #NEWLINE# #UNINDENT# return wrapped #NEWLINE# #UNINDENT# return decorator