{"action":"created","issue":{"url":"https://api.github.com/repos/codenameone/CodenameOne/issues/1888","repository_url":"https://api.github.com/repos/codenameone/CodenameOne","labels_url":"https://api.github.com/repos/codenameone/CodenameOne/issues/1888/labels{/name}","comments_url":"https://api.github.com/repos/codenameone/CodenameOne/issues/1888/comments","events_url":"https://api.github.com/repos/codenameone/CodenameOne/issues/1888/events","html_url":"https://github.com/codenameone/CodenameOne/issues/1888","id":177052390,"number":1888,"title":"Migrate UWP networking to use HttpClient","user":{"login":"shannah","id":2677562,"avatar_url":"https://avatars.githubusercontent.com/u/2677562?v=3","gravatar_id":"","url":"https://api.github.com/users/shannah","html_url":"https://github.com/shannah","followers_url":"https://api.github.com/users/shannah/followers","following_url":"https://api.github.com/users/shannah/following{/other_user}","gists_url":"https://api.github.com/users/shannah/gists{/gist_id}","starred_url":"https://api.github.com/users/shannah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shannah/subscriptions","organizations_url":"https://api.github.com/users/shannah/orgs","repos_url":"https://api.github.com/users/shannah/repos","events_url":"https://api.github.com/users/shannah/events{/privacy}","received_events_url":"https://api.github.com/users/shannah/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"shannah","id":2677562,"avatar_url":"https://avatars.githubusercontent.com/u/2677562?v=3","gravatar_id":"","url":"https://api.github.com/users/shannah","html_url":"https://github.com/shannah","followers_url":"https://api.github.com/users/shannah/followers","following_url":"https://api.github.com/users/shannah/following{/other_user}","gists_url":"https://api.github.com/users/shannah/gists{/gist_id}","starred_url":"https://api.github.com/users/shannah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shannah/subscriptions","organizations_url":"https://api.github.com/users/shannah/orgs","repos_url":"https://api.github.com/users/shannah/repos","events_url":"https://api.github.com/users/shannah/events{/privacy}","received_events_url":"https://api.github.com/users/shannah/received_events","type":"User","site_admin":false},"assignees":[{"login":"shannah","id":2677562,"avatar_url":"https://avatars.githubusercontent.com/u/2677562?v=3","gravatar_id":"","url":"https://api.github.com/users/shannah","html_url":"https://github.com/shannah","followers_url":"https://api.github.com/users/shannah/followers","following_url":"https://api.github.com/users/shannah/following{/other_user}","gists_url":"https://api.github.com/users/shannah/gists{/gist_id}","starred_url":"https://api.github.com/users/shannah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shannah/subscriptions","organizations_url":"https://api.github.com/users/shannah/orgs","repos_url":"https://api.github.com/users/shannah/repos","events_url":"https://api.github.com/users/shannah/events{/privacy}","received_events_url":"https://api.github.com/users/shannah/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/codenameone/CodenameOne/milestones/8","html_url":"https://github.com/codenameone/CodenameOne/milestones/Version%203.6","labels_url":"https://api.github.com/repos/codenameone/CodenameOne/milestones/8/labels","id":1521587,"number":8,"title":"Version 3.6","description":"","creator":{"login":"codenameone","id":2353641,"avatar_url":"https://avatars.githubusercontent.com/u/2353641?v=3","gravatar_id":"","url":"https://api.github.com/users/codenameone","html_url":"https://github.com/codenameone","followers_url":"https://api.github.com/users/codenameone/followers","following_url":"https://api.github.com/users/codenameone/following{/other_user}","gists_url":"https://api.github.com/users/codenameone/gists{/gist_id}","starred_url":"https://api.github.com/users/codenameone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codenameone/subscriptions","organizations_url":"https://api.github.com/users/codenameone/orgs","repos_url":"https://api.github.com/users/codenameone/repos","events_url":"https://api.github.com/users/codenameone/events{/privacy}","received_events_url":"https://api.github.com/users/codenameone/received_events","type":"User","site_admin":false},"open_issues":36,"closed_issues":18,"state":"open","created_at":"2016-01-20T07:27:49Z","updated_at":"2016-09-16T00:07:43Z","due_on":"2016-12-04T22:00:00Z","closed_at":null},"comments":1,"created_at":"2016-09-14T23:50:15Z","updated_at":"2016-09-16T00:07:43Z","closed_at":"2016-09-16T00:07:43Z","body":"UWP currently uses the old HttpWebRequest class for networking.  This is missing a number of essential functionality on UWP.  Importantly it doesn't allow us to disable auto follow redirects - and it doesn't pass on some headers when it does the auto redirect.  This causes problems for apps that use the Authorization header as this will be stripped.\r\n\r\nNeed to change it to use the HttpClient class.\r\nhttps://blogs.windows.com/buildingapps/2015/11/23/demystifying-httpclient-apis-in-the-universal-windows-platform/#aD9DXZEEkZfEYCEY.97"},"comment":{"url":"https://api.github.com/repos/codenameone/CodenameOne/issues/comments/247488253","html_url":"https://github.com/codenameone/CodenameOne/issues/1888#issuecomment-247488253","issue_url":"https://api.github.com/repos/codenameone/CodenameOne/issues/1888","id":247488253,"user":{"login":"shannah","id":2677562,"avatar_url":"https://avatars.githubusercontent.com/u/2677562?v=3","gravatar_id":"","url":"https://api.github.com/users/shannah","html_url":"https://github.com/shannah","followers_url":"https://api.github.com/users/shannah/followers","following_url":"https://api.github.com/users/shannah/following{/other_user}","gists_url":"https://api.github.com/users/shannah/gists{/gist_id}","starred_url":"https://api.github.com/users/shannah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shannah/subscriptions","organizations_url":"https://api.github.com/users/shannah/orgs","repos_url":"https://api.github.com/users/shannah/repos","events_url":"https://api.github.com/users/shannah/events{/privacy}","received_events_url":"https://api.github.com/users/shannah/received_events","type":"User","site_admin":false},"created_at":"2016-09-16T00:07:43Z","updated_at":"2016-09-16T00:07:43Z","body":"I discovered that the problems I was having were not related to the Http library.  Here is a heavily logged and rough modification to change to HttpClient, however the current implementation seems to be fine for now.\r\n\r\nhttps://gist.github.com/shannah/65f74db4e287dbc1fbe84a111f415150\r\n\r\nClosing for now.  May revisit later if there are problems with HttpWebRequest"}}
{"actor":{"display_login":"shannah"}}