commit f6cd763b28da36f7e00479033e2e6993a7616253 Author: David Fifield david@bamsoftware.com Date: Sun Jul 10 01:27:25 2011 -0700
Set "Cache-Control: no-cache" in facilitator client responses.
Flash Player on Internet Explorer appears to use the browser cache, getting stale facilitator results. --- facilitator.py | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/facilitator.py b/facilitator.py index 4d08673..eaad855 100755 --- a/facilitator.py +++ b/facilitator.py @@ -291,6 +291,7 @@ class Handler(BaseHTTPServer.BaseHTTPRequestHandler): client_str = "" self.send_response(200) self.send_header("Content-Type", "x-www-form-urlencoded") + self.send_header("Cache-Control", "no-cache") self.end_headers()
data = {}
tor-commits@lists.torproject.org