#NEWLINE# def cache_control( self ) : #NEWLINE# #INDENT# control = { #NEWLINE# #INDENT# 'max_age' : self . timeout , #NEWLINE# 's_maxage' : self . timeout , #NEWLINE# #UNINDENT# } #NEWLINE# if ( control . public is not None ) : #NEWLINE# #INDENT# control [ 'public' ] = self . public #NEWLINE# #UNINDENT# if ( self . private is not None ) : #NEWLINE# #INDENT# control [ 'private' ] = self . private #NEWLINE# #UNINDENT# return control