summaryrefslogtreecommitdiffstats
path: root/dom/base/test/file_explicit_user_agent.sjs
blob: 33b9a5c5054a29da9a8057d5e8c708bd166ead32 (plain)
1
2
3
4
5
6
function handleRequest(request, response) {
  if (request.hasHeader("User-Agent")) {
    response.setHeader("Result-User-Agent", request.getHeader("User-Agent"));
  }
  response.write("");
}