[Zope-Checkins] CVS: Zope/lib/python/Shared/DC/ZRDB - DA.py:1.115
Chris Withers
chris at simplistix.co.uk
Mon Apr 19 05:08:47 EDT 2004
Update of /cvs-repository/Zope/lib/python/Shared/DC/ZRDB
In directory cvs.zope.org:/tmp/cvs-serv20936
Modified Files:
DA.py
Log Message:
Allow ZSQL methods to be edited via WebDAV.
See http://zope.org/Collectors/Zope/1289.
=== Zope/lib/python/Shared/DC/ZRDB/DA.py 1.114 => 1.115 ===
--- Zope/lib/python/Shared/DC/ZRDB/DA.py:1.114 Thu Dec 4 17:03:17 2003
+++ Zope/lib/python/Shared/DC/ZRDB/DA.py Mon Apr 19 05:08:46 2004
@@ -275,6 +275,8 @@
self.REQUEST.RESPONSE.setHeader('Content-Type', 'text/plain')
return '<params>%s</params>\n%s' % (self.arguments_src, self.src)
+ def get_size(self): return len(self.document_src())
+
def PUT(self, REQUEST, RESPONSE):
"""Handle put requests"""
self.dav__init(REQUEST, RESPONSE)
More information about the Zope-Checkins
mailing list