Thu, 15 Jan 2015 15:59:08 +0100
Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.
2 function handleRequest(request, response)
3 {
4 // avoid confusing cache behaviors
5 response.setHeader("Cache-Control", "no-cache", false);
6 response.setHeader("Content-Type", "text/plain", false);
7 response.setHeader("Access-Control-Allow-Origin", "*", false);
9 // echo method
10 response.write(request.method);
11 }