"use strict"; // An onload postmessage to window opener const RESPONSE_HTTPS_SCHEME = `
`; const RESPONSE_HTTP_SCHEME = ` `; function handleRequest(request, response) { let response_content = request.scheme === "https" ? RESPONSE_HTTPS_SCHEME : RESPONSE_HTTP_SCHEME; response.setStatusLine(request.httpVersion, 200, "OK"); response.write(response_content); }