[sr-dev] new module: mi_rpc
Juha Heinanen
jh at tutpro.com
Mon Jul 13 19:02:42 CEST 2009
Andrei Pelinescu-Onciul writes:
> It was a bug in xmlrpc support for optional parameters (used only by
> mi_rpc for now).
> It should be fixed now.
thanks, c.mi('get_statistics', 'core:') now correctly returns:
['200 OK\n', '+ :: core:rcv_requests = 3', '+ :: core:rcv_replies = 0', '+ :: core:fwd_requests = 0', '+ :: core:fwd_replies = 0', '+ :: core:drop_requests = 0', '+ :: core:drop_replies = 0', '+ :: core:err_requests = 0', '+ :: core:err_replies = 0', '+ :: core:bad_URIs_rcvd = 0', '+ :: core:unsupported_methods = 3', '+ :: core:bad_msg_hdr = 0']
couple of questions:
- why is 200 OK followed by newline?
- what information does prefix "+ :: " in values provide?
- could both be removed?
-- juha
More information about the sr-dev
mailing list