#NEWLINE# def build_request( self ) : #NEWLINE# #INDENT# if ( not self . check_call ( ) ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# params = self . call . copy ( ) #NEWLINE# params . pop ( 'reqtype' ) #NEWLINE# server = ( '%s/call/%s' % ( self . get_url_rest ( ) , self . call [ 'reqtype' ] ) ) #NEWLINE# self . request = ( ( server + '?' ) + urllib . urlencode ( params ) ) #NEWLINE# self . call [ 'request_uri' ] = self . request #NEWLINE# return self . call