{"action":"opened","issue":{"url":"https://api.github.com/repos/GoogleChrome/sw-precache/issues/220","repository_url":"https://api.github.com/repos/GoogleChrome/sw-precache","labels_url":"https://api.github.com/repos/GoogleChrome/sw-precache/issues/220/labels{/name}","comments_url":"https://api.github.com/repos/GoogleChrome/sw-precache/issues/220/comments","events_url":"https://api.github.com/repos/GoogleChrome/sw-precache/issues/220/events","html_url":"https://github.com/GoogleChrome/sw-precache/issues/220","id":191805684,"number":220,"title":"Allow to configure redirect mode for fetch","user":{"login":"friedger","id":1449049,"avatar_url":"https://avatars.githubusercontent.com/u/1449049?v=3","gravatar_id":"","url":"https://api.github.com/users/friedger","html_url":"https://github.com/friedger","followers_url":"https://api.github.com/users/friedger/followers","following_url":"https://api.github.com/users/friedger/following{/other_user}","gists_url":"https://api.github.com/users/friedger/gists{/gist_id}","starred_url":"https://api.github.com/users/friedger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/friedger/subscriptions","organizations_url":"https://api.github.com/users/friedger/orgs","repos_url":"https://api.github.com/users/friedger/repos","events_url":"https://api.github.com/users/friedger/events{/privacy}","received_events_url":"https://api.github.com/users/friedger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-26T13:20:32Z","updated_at":"2016-11-26T13:20:32Z","closed_at":null,"body":"For our site template project (for Google Developer Group events), we would like to allow add the settings redirect: 'follow' to the fetch method in the 'install' handler.\r\n\r\nThis should solve our issue with wrong redirects, as described for our site here:\r\nhttps://github.com/gdg-x/hoverboard/issues/149\r\nand on stackoverflow \r\nhttp://stackoverflow.com/a/40277730/243599\r\n\r\nNot sure how the configuration could look like in the sw-precache file though. Maybe\r\n```\r\nfetchInit = {redirect : 'follow'}\r\n```\r\nIt is only considered if handleFetch is true.\r\n"}}
{"actor":{"display_login":"friedger"}}