#NEWLINE# def should_filter( self , status , headers ) : #NEWLINE# #INDENT# if ( not status . startswith ( '200' ) ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# for ( name , value ) in headers : #NEWLINE# #INDENT# if ( name . lower ( ) == 'content-type' ) : #NEWLINE# #INDENT# return value . startswith ( 'text/html' ) #NEWLINE# #UNINDENT# #UNINDENT# return False