<s> """<STR_LIT>""" <EOL> from circuits import handler , Component <EOL> from circuits . web import Server , Controller <EOL> class Upper ( Component ) : <EOL> channel = "<STR_LIT>" <EOL> @ handler ( "<STR_LIT>" , priority = <NUM_LIT:1.0> ) <EOL> def _on_response ( self , response ) : <EOL> """<STR_LIT>""" <EOL> response . body = "<STR_LIT>" . join ( response . body ) . upper ( ) <EOL> class Root ( Controller ) : <EOL> def index ( self ) : <EOL> """<STR_LIT>""" <EOL> return "<STR_LIT>" <EOL> app = Server ( ( "<STR_LIT>" , <NUM_LIT> ) ) <EOL> Upper ( ) . register ( app ) <EOL> Root ( ) . register ( app ) <EOL> app . run ( ) </s>
