{"action":"opened","issue":{"url":"https://api.github.com/repos/pmusolino/Wormholy/issues/40","repository_url":"https://api.github.com/repos/pmusolino/Wormholy","labels_url":"https://api.github.com/repos/pmusolino/Wormholy/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/pmusolino/Wormholy/issues/40/comments","events_url":"https://api.github.com/repos/pmusolino/Wormholy/issues/40/events","html_url":"https://github.com/pmusolino/Wormholy/issues/40","id":355607040,"node_id":"MDU6SXNzdWUzNTU2MDcwNDA=","number":40,"title":"WebView 302 Redirects cause duplicate requests","user":{"login":"alpriest","id":221241,"node_id":"MDQ6VXNlcjIyMTI0MQ==","avatar_url":"https://avatars1.githubusercontent.com/u/221241?v=4","gravatar_id":"","url":"https://api.github.com/users/alpriest","html_url":"https://github.com/alpriest","followers_url":"https://api.github.com/users/alpriest/followers","following_url":"https://api.github.com/users/alpriest/following{/other_user}","gists_url":"https://api.github.com/users/alpriest/gists{/gist_id}","starred_url":"https://api.github.com/users/alpriest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alpriest/subscriptions","organizations_url":"https://api.github.com/users/alpriest/orgs","repos_url":"https://api.github.com/users/alpriest/repos","events_url":"https://api.github.com/users/alpriest/events{/privacy}","received_events_url":"https://api.github.com/users/alpriest/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-30T14:18:20Z","updated_at":"2018-08-30T14:18:20Z","closed_at":null,"author_association":"NONE","body":"When using Wormholy, a UIWebView that receives a 302 Redirect response issues 2 requests for the redirect URL. You can see it happening by monitoring the web requests in Charles. This does not happen with WKWebView but there is a bug with that implementation which means I have to use UIWebView for now.\r\n\r\nI've attached a sample project which demonstrates the failing behaviour, and also screenshots illustrating the duplicate request.\r\n\r\n<img width=\"812\" alt=\"screen shot 2018-08-30 at 15 07 10\" src=\"https://user-images.githubusercontent.com/221241/44857507-de8a1380-ac67-11e8-9c78-22329257c251.png\">\r\n<img width=\"817\" alt=\"screen shot 2018-08-30 at 15 10 33\" src=\"https://user-images.githubusercontent.com/221241/44857509-de8a1380-ac67-11e8-9bc1-2395004406d0.png\">\r\n[Wormholy-WebView-Duplicate-Request-Example.zip](https://github.com/pmusolino/Wormholy/files/2336526/Wormholy-WebView-Duplicate-Request-Example.zip)\r\n"}}
{"actor":{"display_login":"alpriest"}}