def extractResponse(cls, request, data):
        self = cls()
        self.ns_uri = request.ns_uri
        for field in request.allRequestedFields():
            value = data.get(field)
            if value is not None:
                self.data[field] = value
        return self
Encode a response to a L{WebResponse}, signing it first if appropriate.
dataset/ETHPy150Open CollabQ/CollabQ/openid/extensions/sreg.py/SRegResponse.extractResponse--crossover with--dataset/ETHPy150Open CollabQ/CollabQ/openid/server/server.py/SigningEncoder.encode