- From: Andrew Betts <notifications@github.com>
- Date: Fri, 09 Jun 2017 14:35:06 -0700
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 9 June 2017 21:35:40 UTC
I have just had a use case for adding cookies to a response in a serviceworker before allowing the response to proceed to the browser tab. This doesn't currently work because `Set-Cookie` headers are prohibited on manually constructed responses. This is counter to my expectations, and doesn't raise any errors when tested in Chrome. See https://stackoverflow.com/questions/44424231/how-to-set-cookies-on-a-response-in-a-serviceworker/44445217 -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/ServiceWorker/issues/707#issuecomment-307505375
Received on Friday, 9 June 2017 21:35:40 UTC