"use strict"; function handleRequest(request, response) { Cu.importGlobalProperties(["URLSearchParams"]); let qs = new URLSearchParams(request.queryString); let href = qs.get("href"); let crossOrigin = qs.get("crossOrigin"); // write to raw socket response.seizePower(); response.write("HTTP/1.1 103 Early Hint\r\n"); response.write( `Link: <${href}>; rel=preconnect; crossOrigin=${crossOrigin}\r\n` ); response.write("\r\n"); let body = `