Re: [w3c/ServiceWorker] Add cookie accessor/setter methods? (#707)

Just thought about one time cookies...
I had to make a request only one time to get a bearer token with a cookie included, but i didn't have to save it in the cookiejar and i didn't want to have it afterwards either to avoid it being sent all the time to the public/static endpoints

Just wondering if something like this would be useful
```js
let cookie = new Cookie(...)
fetch(url, {
  cookies: [cookie]
})
```

-- 
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-297722135

Received on Thursday, 27 April 2017 14:03:57 UTC