def __getitem__(self, key):
        try:
            return getattr(self, key)
        except __HOLE__:
            pass
        return self.headers.get(key)
dataset/ETHPy150Open benoitc/restkit/restkit/wrappers.py/Response.__getitem__