You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FsNode.etag_unquoted returning the entity tag without the double quotes the server wraps it in, for comparing or storing the bare value. FsNode.etag keeps what the server sent, so it can still be passed to an If-Match/If-None-Match header unchanged. #448 Thanks to @kyteinsky
Fixed
FsNode.etag is always a string now; trashbin entries used to yield None, because the server sends an empty <d:getetag/> there. #448
PROPFIND property lists are no longer mutated in place. get_propfind_properties() and both trashbin_list() implementations extended the shared PROPFIND_PROPERTIES constant with +=, so it grew on every call (7 entries per call against servers advertising files.locking, 3 per trashbin_list()). Long-running clients ended up sending multi-megabyte PROPFIND bodies that could exhaust the server's workers. Both property constants are now immutable tuples, so this class of bug cannot come back. #453 Thanks to @ciberkids