 import logging <EOL> log = logging . getLogger ( __name__ ) 
 class Middleware ( object ) : 
 import logging <EOL> log = logging . getLogger ( __name__ ) <EOL> class Middleware ( object ) : <EOL> def process_request ( self , env , url , data , ** kwargs ) : <EOL> raise NotImplementedError <EOL> def process_response ( self , env , response ) : <EOL> raise NotImplementedError </s>
