- Timestamp:
- Dec 21, 2009, 1:12:05 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
package_branches/invirt-web/ajaxterm-rebased/code/main.py
r2759 r2761 414 414 @cherrypy.tools.require_POST() 415 415 @cherrypy.tools.gzip() 416 def at(self, machine_id, k=None, c=0, force=0):416 def at(self, machine_id, k=None, c=0, h=None): 417 417 machine = validation.Validate(cherrypy.request.login, cherrypy.request.state, machine_id=machine_id).machine 418 418 with self.atsessions_lock: … … 432 432 self.atmulti.proc_write(term,k) 433 433 time.sleep(0.002) 434 dump=self.atmulti.dump(term,c, int(force))434 dump=self.atmulti.dump(term,c,h) 435 435 cherrypy.response.headers['Content-Type']='text/xml' 436 436 if isinstance(dump,str):
Note: See TracChangeset
for help on using the changeset viewer.