parameters: (self, host, url, method="GET", secure=False, credentials=None,
                   context=None)
docstring: Initialize the instance with the host, the request URL, and the method
          ("GET" or "POST")
docstring_summary: Initialize the instance with the host, the request URL, and the method
          ("GET" or "POST")
docstring_tokens: Initialize the instance with the host the request URL and the method ( GET or POST )
function: def __init__(self, host, url, method="GET", secure=False, credentials=None,
                   context=None):
          """
          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")
          if not secure and context is not None:
              raise ValueError("context parameter only makes sense "
                               "with secure=True")
          self.host = host
          self.url = url
          self.method = method
          self.secure = secure
          self.credentials = credentials
          self.context = context
function_tokens: def __init__ ( self , host , url , method = "GET" , secure = False , credentials = None , context = None ) : logging . Handler . __init__ ( self ) method = method . upper ( ) if method not in [ "GET" , "POST" ] : raise ValueError ( "method must be GET or POST" ) if not secure and context is not None : raise ValueError ( "context parameter only makes sense " "with secure=True" ) self . host = host self . url = url self . method = method self . secure = secure self . credentials = credentials self . context = context