wsgidav.lock_storage.LockStorageShelve.refresh¶
-
LockStorageShelve.
refresh
(token, timeout)¶ Modify an existing lock’s timeout.
- token:
- Valid lock token.
- timeout:
- Suggested lifetime in seconds (-1 for infinite). The real expiration time may be shorter than requested!
Returns: Lock dictionary. Raises ValueError, if token is invalid.