WsgiDAV
maintain_3.x
Overview
Installation
User Guide
Reference Guide
Development
Release Info
WsgiDAV
Docs
»
wsgidav.lock_storage.LockStorageDict.refresh
Edit on GitHub
wsgidav.lock_storage.LockStorageDict.refresh
¶
LockStorageDict.
refresh
(
token
,
timeout
)
[source]
¶
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.