title: python basehttpserver and cgihttpserver do_GET(self), use cgi requesthandler and base requesthandler
body: <pre><code>class WebServer(SocketServer.ThreadingMixIn,BaseHTTPServer.HTTPServer):
  
      # Works with basehttphandler
      do_get(self):
          if 'home' in self.path:
              &lt;do something here&gt;
  
  # "Working" Method is commented out. The problem I'm having is being unable to
  # handle requests like GET, POST, etc with CGIHTTPRequestHandler.:
  #
  #DoIT=BaseHTTPServer.BaseHTTPRequestHandler((SERVER_ADDRESS,PORT),WebServer)
  
  DoIt=webserver((SERVER_ADDRESS,PORT),CGIHTTPServer.CGIHTTPRequestHandler)
  DoIT.serve_forever()
  </code></pre>
  
  <p>This works with basehttprequesthandler, not with cgihttprequesthandler. I need a way to manage both 'types'(using both libraries?) of requests if that's even feasible. Thanks in advance.</p>