How to set 'connection' header in worker

Hi how to set ‘connection’ header to ‘keep-alive’ but it keeps reset to ‘close’
The reason is I want to redirect to the same domain so ‘connection: close’ doesnt make any sense because it will try to make a new connection and do a ssl handshake again.
here’s my current code:

const resp = new Response(null, { status: 302 });
resp.headers.set('Connection', 'keep-alive');
resp.headers.set('Location', 'https://example.com' );
return resp;

You cant change that, connection management is up to Cloudflare in this case.

Also, as of HTTP 2 that header is not applicable any longer, https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Connection