3 function handleRequest(request, response) {
4 if (request.hasHeader("X-Early-Hint-Count-Start")) {
5 setSharedState("earlyHintCount", JSON.stringify({ hinted: 0, normal: 0 }));
7 response.setHeader("Content-Type", "application/json", false);
8 response.write(getSharedState("earlyHintCount"));