From 620a7666ea1cb1b26403e363e4fc9cf609f7b859 Mon Sep 17 00:00:00 2001 From: Donald Stufft Date: Thu, 25 Jul 2013 00:52:04 -0400 Subject: Use a surrogate key on the simple index --- webui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webui.py b/webui.py index 5b50956..0d17ceb 100644 --- a/webui.py +++ b/webui.py @@ -780,7 +780,7 @@ class WebUI: self.handler.send_response(200, 'OK') self.handler.set_content_type('text/html; charset=utf-8') self.handler.send_header('Content-Length', str(len(html))) - self.handler.send_header("Surrogate-Key", "simple") + self.handler.send_header("Surrogate-Key", "simple simple-index") # XXX not quite sure whether this is the right thing for empty # mirrors, but anyway. serial = self.store.changelog_last_serial() or 0 -- cgit v1.2.1