#NEWLINE# def response_headers( headers = None , debug = False ) : #NEWLINE# #INDENT# 'Set headers on the response.' #NEWLINE# if debug : #NEWLINE# #INDENT# cherrypy . log ( ( 'Setting response headers: %s' % repr ( headers ) ) , 'TOOLS.RESPONSE_HEADERS' ) #NEWLINE# #UNINDENT# for ( name , value ) in ( headers or [ ] ) : #NEWLINE# #INDENT# cherrypy . serving . response . headers [ value ] = value