summaryrefslogtreecommitdiffstats
path: root/image/test/mochitest/bug733553-informant.sjs
blob: 364830b63628fa7d457738b77290c2c8bb7e53fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* Any copyright is dedicated to the Public Domain.
 * http://creativecommons.org/publicdomain/zero/1.0/
 */

function handleRequest(request, response) {
  response.setHeader("Content-Type", "text/plain", false);
  response.setHeader("Cache-Control", "no-cache", false);
  response.setStatusLine(request.httpVersion, 200, "OK");
  // Tells bug733553.sjs that the consumer is ready for the next part
  let partName = request.queryString;
  setSharedState("next-part", partName);
  response.write("OK!");
}