[Zope-Checkins] CVS: Zope - z2.py:1.55.30.3
Andreas Jung
andreas@zope.com
Wed, 7 Nov 2001 11:02:21 -0500
Update of /cvs-repository/Zope
In directory cvs.zope.org:/tmp/cvs-serv10865
Modified Files:
Tag: ajung-webdav-debug
z2.py
Log Message:
added support to disable WebDAV locking based on the user-agent *sigh*
=== Zope/z2.py 1.55.30.2 => 1.55.30.3 ===
zLOG.LOG("z2", zLOG.INFO, "WebDAV content-type changing magic enabled")
- Resource.webdav_magic_enabled = 1
+ Resource.webdav_magic_enabled = 1\
+
+ if os.environ.get('WEBDAV_SUPRESS_LOCKING_FOR_BUGGY_CLIENTS',None):
+ zLOG.LOG("z2", zLOG.INFO, "WebDAV locking disabled for buggy clients")
+ Resource.disable_locking_for_buggy_clients = 1
+
if WEBDAV_SOURCE_PORT:
if type(WEBDAV_SOURCE_PORT) is type(0):