def removeWindow(self, window):
        if window is not None and window in self._windows.values():

            # Removes the window from application
            del self._windows[window.getName()]

            # If the window was main window, clear it
            if self.getMainWindow() == window:
                self.setMainWindow(None)

            # Removes the application from window
            if window.getApplication() == self:
                window.setApplication(None)

            self._fireWindowDetachEvent(window)
Response processor to set an etag header on outgoing responses.
dataset/ETHPy150Open rwl/muntjac/muntjac/application.py/Application.removeWindow--crossover with--dataset/ETHPy150Open feincms/feincms/feincms/module/page/processors.py/etag_response_processor