# HG changeset patch # User casties # Date 1281606489 -7200 # Node ID 0fa22c291ff1ac7320d11c28145832a6a2c30322 # Parent b8922e13e7b59c11bfd81d57862abadff8362348 NEW - # 12: create table and upload data https://it-dev.mpiwg-berlin.mpg.de/tracs/GIS/ticket/12 toying with PUT diff -r b8922e13e7b5 -r 0fa22c291ff1 RestDbInterface.py --- a/RestDbInterface.py Wed Aug 11 15:16:36 2010 +0200 +++ b/RestDbInterface.py Thu Aug 12 11:48:09 2010 +0200 @@ -151,6 +151,14 @@ # don't know what to do return str(REQUEST) + def PUT(self, REQUEST, RESPONSE): + """ + Implement WebDAV/HTTP PUT/FTP put method for this object. + """ + logging.debug("PUT with REQUEST=%s"%(REQUEST)) + #self.dav__init(REQUEST, RESPONSE) + #self.dav__simpleifhandler(REQUEST, RESPONSE) + def showTable(self,format='XML',schema='public',table=None): """returns PageTemplate with tables"""