| Total Complexity | 1 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | import base64 |
||
| 2 | import binascii |
||
| 3 | import concurrent |
||
| 4 | import json |
||
| 5 | import logging |
||
| 6 | import tornado.web |
||
| 7 | import uuid |
||
| 8 | |||
| 9 | |||
| 10 | |||
| 11 | |||
| 12 | class BaseStaticHandler(tornado.web.StaticFileHandler): |
||
| 13 | def set_extra_headers(self, path): |
||
| 14 | # set content type to application/json |
||
| 15 | self.set_header("TestHeader", "ThisIsATest") |
||
| 16 | #self._headers["testheader"] = "test" |
||
| 17 |