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(""); }