title: TypeError: __init__() missing 3 required positional arguments
body: <p>I'm building a class to handle HTTP GET requests using <code>http.server</code>, this is what i wrote so far:  </p>
  
  <pre class="lang-py prettyprint-override"><code>class webServerHandler(BaseHTTPRequestHandler):
      __HOST = "localhost"
      __PORT = 8080
  
      # Custom GET response
      def do_GET(self):
          page_content = self.htmlHandler()
          self.wfile.write(page_content) # Send web page
  
      # HTML code
      def htmlHandler(self):
          self.send_response(200)
          self.send_header("Content-type", "text/html")
          self.end_headers()
          msg = '''
          &lt;html&gt;&lt;head&gt;&lt;title&gt;Test&lt;/title&gt;&lt;/head&gt;
          &lt;body&gt;&lt;h1&gt;&lt;center&gt;Test&lt;/center&gt;&lt;/h1&gt;&lt;/body&gt;
          &lt;/html&gt;
          '''
          return bytes(msg, "UTF-8") # UTF-8 Format
  
      # Run the server
      def serverStart(self):
          # init HTTP Daemon
          http_daemon = HTTPServer((self.__HOST, self.__PORT), webServerHandler)
          http_daemon.serve_forever()
          print("Info: Server started")
  </code></pre>
  
  <p>and i execute it with: </p>
  
  <pre class="lang-py prettyprint-override"><code>server = webServerHandler()
  server.serverStart()
  </code></pre>
  
  <p>When i try to execute it it give me this error:</p>
  
  <pre><code>TypeError: __init__() missing 3 required positional arguments: 'request', 'client_address', and 'server'
  </code></pre>
  
  <p>What i'm doing wrong?</p>