{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/4981","labels_url":"https://api.github.com/repos/facebook/react-native/issues/4981/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/4981/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/4981/events","html_url":"https://github.com/facebook/react-native/pull/4981","id":123924565,"number":4981,"title":"Get response url from XMLHttpRequest","user":{"login":"realaboo","id":756485,"avatar_url":"https://avatars.githubusercontent.com/u/756485?v=3","gravatar_id":"","url":"https://api.github.com/users/realaboo","html_url":"https://github.com/realaboo","followers_url":"https://api.github.com/users/realaboo/followers","following_url":"https://api.github.com/users/realaboo/following{/other_user}","gists_url":"https://api.github.com/users/realaboo/gists{/gist_id}","starred_url":"https://api.github.com/users/realaboo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/realaboo/subscriptions","organizations_url":"https://api.github.com/users/realaboo/orgs","repos_url":"https://api.github.com/users/realaboo/repos","events_url":"https://api.github.com/users/realaboo/events{/privacy}","received_events_url":"https://api.github.com/users/realaboo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/react-native/labels/CLA%20Signed","name":"CLA Signed","color":"e7e7e7"},{"url":"https://api.github.com/repos/facebook/react-native/labels/GH%20Review:%20review-needed","name":"GH Review: review-needed","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-12-26T10:47:59Z","updated_at":"2016-01-06T13:57:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/facebook/react-native/pulls/4981","html_url":"https://github.com/facebook/react-native/pull/4981","diff_url":"https://github.com/facebook/react-native/pull/4981.diff","patch_url":"https://github.com/facebook/react-native/pull/4981.patch"},"body":"An HTTP request may be redirected to another URL, sometimes we need to know the URL where the  response comes from.\r\n\r\nIf the server is in control, we can add an HTTP header X-Request-URL for the redirect URL. However there will be cases that 3rd party services are used.\r\n\r\nThis PR retrieves the response URL from native networking module and passes to it XMLHttpRequest. The fetch API built on XMLHttpRequest also benefits from this feature."},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/169329342","html_url":"https://github.com/facebook/react-native/pull/4981#issuecomment-169329342","issue_url":"https://api.github.com/repos/facebook/react-native/issues/4981","id":169329342,"user":{"login":"mkonicek","id":346214,"avatar_url":"https://avatars.githubusercontent.com/u/346214?v=3","gravatar_id":"","url":"https://api.github.com/users/mkonicek","html_url":"https://github.com/mkonicek","followers_url":"https://api.github.com/users/mkonicek/followers","following_url":"https://api.github.com/users/mkonicek/following{/other_user}","gists_url":"https://api.github.com/users/mkonicek/gists{/gist_id}","starred_url":"https://api.github.com/users/mkonicek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkonicek/subscriptions","organizations_url":"https://api.github.com/users/mkonicek/orgs","repos_url":"https://api.github.com/users/mkonicek/repos","events_url":"https://api.github.com/users/mkonicek/events{/privacy}","received_events_url":"https://api.github.com/users/mkonicek/received_events","type":"User","site_admin":false},"created_at":"2016-01-06T13:57:33Z","updated_at":"2016-01-06T13:57:33Z","body":"@lexs Does this look OK to you?"}}