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
I'd further add the following to remove the quotes around the etag (without this, it would be something link '"etag"'. I suggest to use the try / except - pattern as most servers are supporting the etag-field, and therefore this is approach is usually faster.
for (name, value) infind_attributes.items():
info[name] =resp.findtext(value)
# newtry:
info['etag'] =info['etag'][1:-1] # remove quotes from etagexceptKeyError:
pass
Activity
Add etag support in webdav.client.info() (code from CloudPolis#14)