#NEWLINE# def call( self , data = None , action = 'echo' , content_type = 'application/json' , **kwargs ) : #NEWLINE# #INDENT# if ( action is not None ) : #NEWLINE# #INDENT# kwargs [ 'HTTP_X_RPC_ACTION' ] = action #NEWLINE# #UNINDENT# if ( content_type is not None ) : #NEWLINE# #INDENT# kwargs [ 'content_type' ] = content_type #NEWLINE# #UNINDENT# if ( data is not None ) : #NEWLINE# #INDENT# kwargs [ 'data' ] = data #NEWLINE# #UNINDENT# return self . client . post ( '/rpc/' , ** kwargs )