def actions(self):
		actions = HTTPContent.actions(self)
		actions.append('jsonCall')
		return actions
	def respondToGet(self, transaction):
		if self._allowGet:
			self.writeError("GET method not allowed")
		HTTPContent.respondToGet(self, transaction)
Ejemplo n.º 3
0
 def sleep(self, transaction):
     HTTPContent.sleep(self, transaction)
     transaction.session().lessBusy()
	def __init__(self):
		HTTPContent.__init__(self)
Ejemplo n.º 5
0
 def awake(self, transaction):
     transaction.session().moreBusy()
     HTTPContent.awake(self, transaction)