summaryrefslogtreecommitdiffstats
path: root/dom/base/test/bug819051.sjs
blob: b880d4efe39a144fa28709f888521ec511098eee (plain)
1
2
3
4
5
6
7
8
9
function handleRequest(request, response) {
  response.setStatusLine(request.httpVersion, 200, "Ok");
  response.setHeader(
    "X-appended-result",
    request.getHeader("X-appended-to-this")
  );
  response.setHeader("X-Accept-Result", request.getHeader("Accept"));
  response.write("");
}