for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
import base64
import binascii
import concurrent
import json
import logging
import tornado.web
import uuid
class BaseStaticHandler(tornado.web.StaticFileHandler):
def set_extra_headers(self, path):
# set content type to application/json
self.set_header("Strict-Transport-Security", "preload; max-age=2592000")
#self._headers["testheader"] = "test"