[Zope-Checkins] CVS: Zope/lib/python/webdav - NullResource.py:1.36.8.2
Andreas Jung
andreas@digicool.com
Thu, 29 Aug 2002 10:30:12 -0400
Update of /cvs-repository/Zope/lib/python/webdav
In directory cvs.zope.org:/tmp/cvs-serv4808
Modified Files:
Tag: Zope-2_5-branch
NullResource.py
Log Message:
Zope did not send a Lock-Token header for new objects as required
by the WebDAV specs (fixes cadaver-0.20.x compatiblity issues)
=== Zope/lib/python/webdav/NullResource.py 1.36.8.1 => 1.36.8.2 ===
--- Zope/lib/python/webdav/NullResource.py:1.36.8.1 Wed Aug 14 12:48:11 2002
+++ Zope/lib/python/webdav/NullResource.py Thu Aug 29 10:30:11 2002
@@ -205,6 +205,7 @@
lock = locknull.wl_getLock(token)
RESPONSE.setStatus(200)
RESPONSE.setHeader('Content-Type', 'text/xml; charset="utf-8"')
+ RESPONSE.setHeader('Lock-Token', 'opaquelocktoken:' + token)
RESPONSE.setBody(lock.asXML())