示例#1
0
 def respondToGet(self, transaction):
     if self._allowGet:
         self.writeError("GET method not allowed")
     HTTPContent.respondToGet(self, transaction)
示例#2
0
 def actions(self):
     actions = HTTPContent.actions(self)
     actions.append('jsonCall')
     return actions
示例#3
0
 def __init__(self):
     HTTPContent.__init__(self)