#NEWLINE# @ staticmethod #NEWLINE# def process_headers( response , headers ) : #NEWLINE# #INDENT# '\n        A convenience function for updating the Response headers with any additional headers\n        generated in the view. If more complex logic should be needed later then it can be handled here.\n\n        :type response: flask.Response\n        :type headers: dict\n        :rtype flask.Response\n        ' #NEWLINE# if headers : #NEWLINE# #INDENT# response . headers . extend ( headers ) #NEWLINE# #UNINDENT# return response