'Used for debugging only.'

def _debug_key(self, key):

    orig_meth = key.bucket.connection.make_request
    def new_meth(*args, **kwargs):
        print ('#' * 16)
        print args
        print kwargs
        print ('#' * 16)
        return orig_meth(*args, **kwargs)
    key.bucket.connection.make_request = new_meth
