summaryrefslogtreecommitdiffstats
path: root/dom/security/test/mixedcontentblocker/download_server.sjs
blob: 09d041f4c05c9f11b68fd6e7ba2ae556219f4274 (plain)
1
2
3
4
5
6
7
8
9
// force the Browser to Show a Download Prompt

function handleRequest(request, response)
{
  response.setHeader("Cache-Control", "no-cache", false);
  response.setHeader("Content-Disposition", "attachment");
  response.setHeader("Content-Type", "image/png");
  response.write('🙈🙊🐵🙊');
}