def __init__(self, host, url, method="GET"):
        """
        Initialize the instance with the host, the request URL, and the method
        ("GET" or "POST")
        """
        logging.Handler.__init__(self)
        method = method.upper()
        if method not in ["GET", "POST"]:
            raise ValueError, "method must be GET or POST"
        self.host = host
        self.url = url
        self.method = method
        self.httpRequest = HTTPRequest()
dataset/ETHPy150Open anandology/pyjamas/pyjs/src/pyjs/lib/logging/handlers.py/HTTPHandler.__init__/original