changeset 12:0fa22c291ff1

NEW - # 12: create table and upload data https://it-dev.mpiwg-berlin.mpg.de/tracs/GIS/ticket/12 toying with PUT
author casties
date Thu, 12 Aug 2010 11:48:09 +0200
parents b8922e13e7b5
children e2c73c077533
files RestDbInterface.py
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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"""