[Zope-Checkins] SVN: Zope/trunk/lib/python/webdav/Resource.py
Sorry... patch was off by a few lines. Sigh.
Chris McDonough
chrism at plope.com
Wed Dec 22 18:26:23 EST 2004
Log message for revision 28691:
Sorry... patch was off by a few lines. Sigh.
Changed:
U Zope/trunk/lib/python/webdav/Resource.py
-=-
Modified: Zope/trunk/lib/python/webdav/Resource.py
===================================================================
--- Zope/trunk/lib/python/webdav/Resource.py 2004-12-22 23:07:56 UTC (rev 28690)
+++ Zope/trunk/lib/python/webdav/Resource.py 2004-12-22 23:26:23 UTC (rev 28691)
@@ -254,10 +254,6 @@
self.dav__init(REQUEST, RESPONSE)
cmd=davcmds.PropFind(REQUEST)
result=cmd.apply(self)
- RESPONSE.setStatus(207)
- RESPONSE.setHeader('Content-Type', 'text/xml; charset="utf-8"')
- RESPONSE.setBody(result)
- return RESPONSE
# work around MSIE DAV bug for creation and modified date
if (REQUEST.get_header('User-Agent') ==
'Microsoft Data Access Internet Publishing Provider DAV 1.1'):
@@ -265,6 +261,10 @@
'<n:getlastmodified xmlns:n="DAV:" xmlns:b="urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/" b:dt="dateTime.rfc1123">')
result = result.replace('<n:creationdate xmlns:n="DAV:">',
'<n:creationdate xmlns:n="DAV:" xmlns:b="urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/" b:dt="dateTime.tz">')
+ RESPONSE.setStatus(207)
+ RESPONSE.setHeader('Content-Type', 'text/xml; charset="utf-8"')
+ RESPONSE.setBody(result)
+ return RESPONSE
def PROPPATCH(self, REQUEST, RESPONSE):
"""Set and/or remove properties defined on the resource."""
More information about the Zope-Checkins
mailing list