<s> from hiccup import BasePlugin <EOL> from hiccup import SharedFunctions as shared <EOL> class PlaintextHighlighter ( BasePlugin . BasePlugin ) : <EOL> required_config = [ ] <EOL> plugin_scope = '<STR_LIT>' <EOL> def __init__ ( self , global_config ) : <EOL> BasePlugin . BasePlugin . __init__ ( self , global_config , self . required_config , self . plugin_scope ) <EOL> def process_request ( self , message ) : <EOL> self . process_message ( message ) <EOL> def process_response ( self , message ) : <EOL> self . process_message ( message ) <EOL> def process_message ( self , message ) : <EOL> self . logger . debug ( "<STR_LIT>" % ( message ) ) <EOL> if message . is_https ( ) == False : <EOL> message . set_highlight ( '<STR_LIT>' ) </s>
