#NEWLINE# def __init__( self , host , url , method = 'GET' ) : #NEWLINE# #INDENT# '\n        Initialize the instance with the host, the request URL, and the method\n        ("GET" or "POST")\n        ' #NEWLINE# logging . Handler . __init__ ( self ) #NEWLINE# method = method . upper ( ) #NEWLINE# if ( method not in [ 'GET' , 'POST' ] ) : #NEWLINE# #INDENT# raise ValueError ( 'method must be GET or POST' ) #NEWLINE# #UNINDENT# self . host = host #NEWLINE# self . url = url #NEWLINE# self . method = method