def pass_session_attributes(self):
        """Copies request attributes to response"""
        for key, value in six.iteritems(self.request.session.attributes):
            self.response.sessionAttributes[key] = value