summaryrefslogtreecommitdiffstats
path: root/netwerk/test/mochitests/user_agent_update.sjs
blob: 649ceb9036f27ff6e9694c0ca42f5074512d7ae6 (plain)
1
2
3
4
5
6
7
8
9
10

function handleRequest(request, response)
{
  // avoid confusing cache behaviors
  response.setHeader("Cache-Control", "no-cache", false);
  response.setHeader("Content-Type", "application/json", false);

  // used by test_user_agent_updates test
  response.write(decodeURIComponent(request.queryString));
}