#NEWLINE# def execute( self , response , autofixture ) : #NEWLINE# #INDENT# 'Generates fixture objects from the given response and stores them\n        in the application-specific cache.\n\n        :param response: the recorded :class:`Response`\n        :param autofixture: the active :class:`AutoFixture`\n        ' #NEWLINE# if ( not has_request_context ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# try : #NEWLINE# #INDENT# app = autofixture . app #NEWLINE# fixture = Fixture . from_response ( response , app , self . request_name ) #NEWLINE# autofixture . add_fixture ( fixture ) #NEWLINE# if request . data : #NEWLINE# #INDENT# fixture = Fixture . from_request ( request , app , self . request_name ) #NEWLINE# autofixture . add_fixture ( fixture ) #NEWLINE# #UNINDENT# #UNINDENT# except TypeError : #NEWLINE# #INDENT# warnings . warn ( 'Could not create fixture for unsupported mime type' ) #NEWLINE# #UNINDENT# return response