summaryrefslogtreecommitdiffstats
path: root/dom/security/test/csp/file_bug802872.sjs
blob: 6877bd58333da579533d9f3529ba5190992aa97b (plain)
1
2
3
4
5
6
function handleRequest(request, response) {
  response.setHeader("Cache-Control", "no-cache", false);
  response.setHeader("Content-Type", "text/event-stream", false);
  response.write("data: eventsource response from server!");
  response.write("\n\n");
}