parameters: (body, encoding='utf-8', allow_none=0)
docstring: Construct HTTP response body.
docstring_summary: Construct HTTP response body.
docstring_tokens: Construct HTTP response body .
function: def respond(body, encoding='utf-8', allow_none=0):
      """Construct HTTP response body."""
      if not isinstance(body, XMLRPCFault):
          body = (body,)
  
      _set_response(
          xmlrpc_dumps(
              body, methodresponse=1,
              encoding=encoding,
              allow_none=allow_none
          )
      )
function_tokens: def respond ( body , encoding = 'utf-8' , allow_none = 0 ) : if not isinstance ( body , XMLRPCFault ) : body = ( body , ) _set_response ( xmlrpc_dumps ( body , methodresponse = 1 , encoding = encoding , allow_none = allow_none ) )