def finalize(self):
        doc = self._doc
        self._doc = None
        self.config = None
        self.resolver = None
        adapter = POMadapter.WSGIAdapter(doc)
        doc.emit(adapter)
        response = HttpResponse(adapter)
        for headertuple in adapter.headers:
            response.add_header(*headertuple)
        response.add_header(httputils.CacheControl("no-cache"))
        return response
Handlers should return the return value of this method.
dataset/ETHPy150Open kdart/pycopia/WWW/pycopia/WWW/framework.py/ResponseDocument.finalize