def l_registration_endpoint(self, request, authn=None, **kwargs):
        logger.debug("@registration_endpoint: <<%s>>" % request)

        try:
            request = RegistrationRequest().deserialize(request, "json")
        except __HOLE__:
            request = RegistrationRequest().deserialize(request)

        logger.info("registration_request:%s" % request.to_dict())

        result = self.client_registration_setup(request)
        if isinstance(result, Response):
            return result

        return Created(result.to_json(), content="application/json",
                       headers=[("Cache-Control", "no-store")])
dataset/ETHPy150Open rohe/pyoidc/src/oic/oic/provider.py/Provider.l_registration_endpoint