.BANCHO. .HIDE. memes

This commit is contained in:
Nyo
2016-06-01 20:52:06 +02:00
parent a65a94b57d
commit a1875401d3
2 changed files with 4 additions and 6 deletions

View File

@@ -183,9 +183,8 @@ class handler(requestHelper.asyncRequestHandler):
self.add_header("Connection", "keep-alive")
self.add_header("Content-Type", "text/html; charset=UTF-8")
self.add_header("Vary", "Accept-Encoding")
#self.add_header("Content-Encoding", "gzip")
#self.write(gzip.compress(responseData, 6))
self.write(responseData)
self.add_header("Content-Encoding", "gzip")
self.write(gzip.compress(responseData, 6))
except:
msg = "**asyncppytornadovroom error** *(aka test server, ignore this)*\nUnhandled exception in mainHandler:\n```\n{}\n{}\n```".format(sys.exc_info(), traceback.format_exc())
consoleHelper.printColored("[!] {}".format(msg), bcolors.RED)