{"action":"opened","issue":{"url":"https://api.github.com/repos/slightlyoff/ServiceWorker/issues/625","labels_url":"https://api.github.com/repos/slightlyoff/ServiceWorker/issues/625/labels{/name}","comments_url":"https://api.github.com/repos/slightlyoff/ServiceWorker/issues/625/comments","events_url":"https://api.github.com/repos/slightlyoff/ServiceWorker/issues/625/events","html_url":"https://github.com/slightlyoff/ServiceWorker/issues/625","id":57789780,"number":625,"title":"Changing Request and fetch()","user":{"login":"annevk","id":1544111,"avatar_url":"https://avatars.githubusercontent.com/u/1544111?v=3","gravatar_id":"","url":"https://api.github.com/users/annevk","html_url":"https://github.com/annevk","followers_url":"https://api.github.com/users/annevk/followers","following_url":"https://api.github.com/users/annevk/following{/other_user}","gists_url":"https://api.github.com/users/annevk/gists{/gist_id}","starred_url":"https://api.github.com/users/annevk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annevk/subscriptions","organizations_url":"https://api.github.com/users/annevk/orgs","repos_url":"https://api.github.com/users/annevk/repos","events_url":"https://api.github.com/users/annevk/events{/privacy}","received_events_url":"https://api.github.com/users/annevk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-16T10:51:59Z","updated_at":"2015-02-16T10:51:59Z","closed_at":null,"body":"We want to expose these features over time and the best candidate is the `Request` object:\r\n\r\n1) Messaging with the service worker's `FetchEvent`.\r\n2) Aborting a fetch.\r\n3) Modifying a fetch on the go (e.g. changing priority).\r\n\r\nI think this requires that we change `Request` that after passing it to `fetch()` it is no longer usable. And change `fetch()` to not copy the object, but instead mutate it.\r\n\r\n#624 is related to this.\r\n\r\nPlease let me know what you think about this soonish so I start making the required changes."}}