diff --git a/handlers/apiIsOnlineHandler.py b/handlers/apiIsOnlineHandler.py index cb3f08f..cd50757 100644 --- a/handlers/apiIsOnlineHandler.py +++ b/handlers/apiIsOnlineHandler.py @@ -30,6 +30,7 @@ class handler(requestHelper.asyncRequestHandler): data["status"] = statusCode # Send response - self.clear() + #self.clear() + self.write(json.dumps(data)) self.set_status(statusCode) - self.finish(json.dumps(data)) + #self.finish(json.dumps(data)) diff --git a/handlers/apiOnlineUsersHandler.py b/handlers/apiOnlineUsersHandler.py index bdaedc4..d40f17b 100644 --- a/handlers/apiOnlineUsersHandler.py +++ b/handlers/apiOnlineUsersHandler.py @@ -18,6 +18,7 @@ class handler(requestHelper.asyncRequestHandler): data["status"] = statusCode # Send response - self.clear() + #self.clear() + self.write(json.dumps(data)) self.set_status(statusCode) - self.finish(json.dumps(data)) + #self.finish(json.dumps(data)) diff --git a/handlers/apiServerStatusHandler.py b/handlers/apiServerStatusHandler.py index db06ef0..f840089 100644 --- a/handlers/apiServerStatusHandler.py +++ b/handlers/apiServerStatusHandler.py @@ -18,6 +18,7 @@ class handler(requestHelper.asyncRequestHandler): data["status"] = statusCode # Send response - self.clear() + #self.clear() + self.write(json.dump(data)) self.set_status(statusCode) - self.finish(json.dumps(data)) + #self.finish(json.dumps(data)) diff --git a/handlers/ciTriggerHandler.py b/handlers/ciTriggerHandler.py index 8eaec56..5ffe294 100644 --- a/handlers/ciTriggerHandler.py +++ b/handlers/ciTriggerHandler.py @@ -33,6 +33,7 @@ class handler(requestHelper.asyncRequestHandler): data["status"] = statusCode # Send response - self.clear() + #self.clear() + self.write(json.dumps(data)) self.set_status(statusCode) - self.finish(json.dumps(data)) + #self.finish(json.dumps(data)) diff --git a/handlers/mainHandler.py b/handlers/mainHandler.py index 7981139..5c40e57 100644 --- a/handlers/mainHandler.py +++ b/handlers/mainHandler.py @@ -242,4 +242,4 @@ class handler(SentryMixin, requestHelper.asyncRequestHandler): html += "
reverse engineering a protocol impossible to reverse engineer since always
we are actually reverse engineering bancho successfully. for the third time." self.write(html) #yield tornado.gen.Task(self.captureMessage, "test") - self.finish() + #self.finish()