#NEWLINE# def after_dispatch( self , handler , response ) : #NEWLINE# #INDENT# 'Called after the class:`tipfy.RequestHandler` method was executed.\n\n        :param handler:\n            A class:`tipfy.RequestHandler` instance.\n        :param response:\n            A class:`tipfy.Response` instance.\n        :returns:\n            A class:`tipfy.Response` instance.\n        ' #NEWLINE# if ( not isinstance ( response , ETagResponseMixin ) ) : #NEWLINE# #INDENT# return response #NEWLINE# #UNINDENT# response . add_etag ( ) #NEWLINE# if handler . request . if_none_match . contains_raw ( response . get_etag ( ) [ 0 ] ) : #NEWLINE# #INDENT# return handler . app . response_class ( status = 304 ) #NEWLINE# #UNINDENT# return response