{"action":"created","issue":{"url":"https://api.github.com/repos/github/fetch/issues/436","repository_url":"https://api.github.com/repos/github/fetch","labels_url":"https://api.github.com/repos/github/fetch/issues/436/labels{/name}","comments_url":"https://api.github.com/repos/github/fetch/issues/436/comments","events_url":"https://api.github.com/repos/github/fetch/issues/436/events","html_url":"https://github.com/github/fetch/issues/436","id":189904498,"number":436,"title":" Response.redirect 如何阻止其自动跳转","user":{"login":"Yhaojing","id":11921460,"avatar_url":"https://avatars.githubusercontent.com/u/11921460?v=3","gravatar_id":"","url":"https://api.github.com/users/Yhaojing","html_url":"https://github.com/Yhaojing","followers_url":"https://api.github.com/users/Yhaojing/followers","following_url":"https://api.github.com/users/Yhaojing/following{/other_user}","gists_url":"https://api.github.com/users/Yhaojing/gists{/gist_id}","starred_url":"https://api.github.com/users/Yhaojing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yhaojing/subscriptions","organizations_url":"https://api.github.com/users/Yhaojing/orgs","repos_url":"https://api.github.com/users/Yhaojing/repos","events_url":"https://api.github.com/users/Yhaojing/events{/privacy}","received_events_url":"https://api.github.com/users/Yhaojing/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-17T01:13:48Z","updated_at":"2016-11-17T01:57:46Z","closed_at":"2016-11-17T01:57:46Z","body":"返回302 fetch 会自动跳转到location，怎么阻止其自动跳转"},"comment":{"url":"https://api.github.com/repos/github/fetch/issues/comments/261132111","html_url":"https://github.com/github/fetch/issues/436#issuecomment-261132111","issue_url":"https://api.github.com/repos/github/fetch/issues/436","id":261132111,"user":{"login":"dgraham","id":122102,"avatar_url":"https://avatars.githubusercontent.com/u/122102?v=3","gravatar_id":"","url":"https://api.github.com/users/dgraham","html_url":"https://github.com/dgraham","followers_url":"https://api.github.com/users/dgraham/followers","following_url":"https://api.github.com/users/dgraham/following{/other_user}","gists_url":"https://api.github.com/users/dgraham/gists{/gist_id}","starred_url":"https://api.github.com/users/dgraham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgraham/subscriptions","organizations_url":"https://api.github.com/users/dgraham/orgs","repos_url":"https://api.github.com/users/dgraham/repos","events_url":"https://api.github.com/users/dgraham/events{/privacy}","received_events_url":"https://api.github.com/users/dgraham/received_events","type":"User","site_admin":true},"created_at":"2016-11-17T01:57:46Z","updated_at":"2016-11-17T01:57:46Z","body":"> Return 302 fetch will automatically jump to location, how to prevent its automatic jump\r\n\r\nI don't think this is possible in native browser fetch implementations based on the [atomic redirect handling](https://fetch.spec.whatwg.org/#atomic-http-redirect-handling) description in the specification. It's not possible with this polyfill because redirects are not exposed to XMLHttpRequest."}}
{"actor":{"display_login":"dgraham"}}