

def get(self):
    data = str_to_bytes((IFRAME_TEXT % self.server.settings['sockjs_url']))
    hsh = hashlib.md5(data).hexdigest()
    value = self.request.headers.get('If-None-Match')
    if value:
        if (value.find(hsh) != (- 1)):
            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 mrjoes/sockjs-tornado/sockjs/tornado/static.py IFrameHandler.get/original