'Create a simple registration request that contains the
fields that were requested in the OpenID request with the
given arguments
@param request: The OpenID request
@type request: openid.server.CheckIDRequest
@returns: The newly created simple registration request
@rtype: C{L{SRegRequest}}'

def fromOpenIDRequest(cls, request):

    self = cls()
    message = request.message.copy()
    self.ns_uri = self._getSRegNS(message)
    args = message.getArgs(self.ns_uri)
    self.parseExtensionArgs(args)
    return self
