#NEWLINE# def match( self , response ) : #NEWLINE# #INDENT# self . _value_found = None #NEWLINE# for ( name , value ) in response . header_list : #NEWLINE# #INDENT# if ( name == value . _expected_name ) : #NEWLINE# #INDENT# self . _value_found = value #NEWLINE# if ( not self . _check_value ) : #NEWLINE# #INDENT# return True #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( value == self . _expected_value ) : #NEWLINE# #INDENT# return True #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# return False