def _on_request(self, name, args):
if IS_PYTHON3:<EOL><INDENT>name = decode_if_bytes(name)<EOL><DEDENT>handler = self._request_handlers.get(name, None)<EOL>if not handler:<EOL><INDENT>msg = self._missing_handler_error(name, '<STR_LIT>')<EOL>error(msg)<EOL>raise ErrorResponse(msg)<EOL><DEDENT>debug('<STR_LIT>', name, args)<EOL>rv = handler(*args)<EOL>debug("<STR_LIT>", name, args, rv)<EOL>return rv<EOL>
Handle a msgpack-rpc request.