def get(self):
        data = IFRAME_TEXT % self.server.settings['sockjs_url']

        hsh = hashlib.md5(data).hexdigest()

        value = self.request.headers.get('If-None-Match')
        if value and value.find(hsh) != -1:
            # TODO: Fix me? Right now it is a hack to remove content-type
            # header
            self.clear()
            del self._headers['Content-Type']

            self.set_status(304)
            return

        self.enable_cache()

        self.set_header('Etag', hsh)
        self.write(data)
dataset/ETHPy150Open flaviogrossi/sockjs-cyclone/sockjs/cyclone/static.py/IFrameHandler.get/original