<s> """<STR_LIT>""" <EOL> __author__ = "<STR_LIT>" <EOL> __revision__ = "<STR_LIT>" [ <NUM_LIT:11> : - <NUM_LIT:2> ] <EOL> import os <EOL> from Cheetah . Template import Template <EOL> class CGITemplate ( Template ) : <EOL> """<STR_LIT>""" <EOL> def cgiHeaders ( self ) : <EOL> """<STR_LIT>""" <EOL> if self . isCgi ( ) : <EOL> return self . cgiHeadersHook ( ) <EOL> def cgiHeadersHook ( self ) : <EOL> """<STR_LIT>""" <EOL> return "<STR_LIT>" <EOL> def isCgi ( self ) : <EOL> """<STR_LIT>""" <EOL> env = '<STR_LIT>' in os . environ <EOL> wk = self . _CHEETAH__isControlledByWebKit <EOL> return env and not wk </s>
