def get(self): SESSION.start_recording() self.set_header('Content-Type', 'application/json') self.write(json.dumps(True))