def _deleteRequest(self, group, user):
        if user['_id'] in group.get('requests', []):
            group['requests'].remove(user['_id'])
            self.save(group, validate=False)
Permanent redirects are an option
dataset/ETHPy150Open girder/girder/girder/models/group.py/Group._deleteRequest--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/tests/regressiontests/generic_views/base.py/RedirectViewTest.test_temporary_redirect