OPSI.web2.channel.cgi module¶
-
OPSI.web2.channel.cgi.
startCGI
(site)¶ Call this as the last thing in your CGI python script in order to hook up your site object with the incoming request.
E.g.: >>> from OPSI.web2 import channel, server >>> if __name__ == ‘__main__’: ... channel.startCGI(server.Site(myToplevelResource))