#NEWLINE# def _http_request( self , base_url , **kwargs ) : #NEWLINE# #INDENT# '\n        Perform an HTTP Request using base_url and parameters\n        given by kwargs. \n        Results are expected to be given in JSON format\n        and are parsed to python data structures.\n        ' #NEWLINE# request_params = urlencode ( kwargs ) #NEWLINE# uri = ( '%s?%s&ywsid=%s&output=%s' % ( base_url , request_params , self . _client_key , self . _output ) ) #NEWLINE# self . LOG . debug ( '_http_request() - URI: %s' , uri ) #NEWLINE# ( header , response ) = self . _conn . request ( uri , method = 'GET' ) #NEWLINE# return ( header , response )