/usr/share/pyshared/pywebdav/lib/constants.py is in python-webdav 0.9.8-7.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | # definition for resourcetype
COLLECTION=1
OBJECT=None
# attributes for resources
DAV_PROPS=['creationdate', 'displayname', 'getcontentlanguage', 'getcontentlength', 'getcontenttype', 'getetag', 'getlastmodified', 'lockdiscovery', 'resourcetype', 'source', 'supportedlock']
# Request classes in propfind
RT_ALLPROP=1
RT_PROPNAME=2
RT_PROP=3
# server mode
DAV_VERSION_1 = {
'version' : '1',
'options' :
'GET, HEAD, COPY, MOVE, POST, PUT, PROPFIND, PROPPATCH, OPTIONS, MKCOL, DELETE, TRACE, REPORT'
}
DAV_VERSION_2 = {
'version' : '1,2',
'options' :
DAV_VERSION_1['options'] + ', LOCK, UNLOCK'
}
|