Exemplo n.º 1
0
 def get(self, key, courselab, outputFile):
     """ get - Handles the get request to poll."""
     self.set_header('Content-Type', 'application/octet-stream')
     inprogress = True if self.get_argument('inprogress', None) == '1' else False
     return tangoREST.poll(key, courselab, urllib.unquote(outputFile), inprogress)
Exemplo n.º 2
0
 def get(self, key, courselab, outputFile):
     """ get - Handles the get request to poll."""
     self.set_header('Content-Type', 'application/octet-stream')
     return tangoREST.poll(key, courselab, urllib.unquote(outputFile))