summaryrefslogtreecommitdiffstats
path: root/image/test/mochitest/bug733553-informant.sjs
blob: 6f15a119577630863297833a8b0d420b95c3bd9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* 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!");
}