Set more than one cookie in the 'Set-Cookie' header in a cloudflare worker header.set('Set-Cookie' function
问题 I'm trying to use a cloudfare worker to add 2 cookie key/value pairs to the response before sending it to the client. Unfortunately all documentation for the cloudflare workers says to use the response.headers.set('Set-Cookie',xxx) function to set the cookie value: let response = await fetch(request); response = new Response(response.body, response); response.headers.set('Set-Cookie', "val1=x; Expires=Wed, 21 Oct 2020 07:28:00 GMT; Path='/';"); return response; This only allows you to set one