tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

bug733553-informant.sjs (505B)


      1 /* Any copyright is dedicated to the Public Domain.
      2  * http://creativecommons.org/publicdomain/zero/1.0/
      3  */
      4 
      5 function handleRequest(request, response) {
      6   response.setHeader("Content-Type", "text/plain", false);
      7   response.setHeader("Cache-Control", "no-cache", false);
      8   response.setStatusLine(request.httpVersion, 200, "OK");
      9   // Tells bug733553.sjs that the consumer is ready for the next part
     10   let partName = request.queryString;
     11   setSharedState("next-part", partName);
     12   response.write("OK!");
     13 }