Commit 2957818d authored by Chris Withers's avatar Chris Withers

Allow ZSQL methods to be edited via WebDAV.

See http://zope.org/Collectors/Zope/1289.
parent 67ce27e0
......@@ -13,7 +13,7 @@
__doc__='''Generic Database adapter'''
__version__='$Revision: 1.114 $'[11:-2]
__version__='$Revision: 1.115 $'[11:-2]
import OFS.SimpleItem, Aqueduct, RDB, re
import DocumentTemplate, marshal, md5, base64, Acquisition, os
......@@ -275,6 +275,8 @@ class DA(
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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment