{"action":"created","issue":{"url":"https://api.github.com/repos/SunGoodBoy/EasyEcard/issues/4","labels_url":"https://api.github.com/repos/SunGoodBoy/EasyEcard/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/SunGoodBoy/EasyEcard/issues/4/comments","events_url":"https://api.github.com/repos/SunGoodBoy/EasyEcard/issues/4/events","html_url":"https://github.com/SunGoodBoy/EasyEcard/issues/4","id":124438001,"number":4,"title":"About extracting HttpUtil.","user":{"login":"SunGoodBoy","id":15101533,"avatar_url":"https://avatars.githubusercontent.com/u/15101533?v=3","gravatar_id":"","url":"https://api.github.com/users/SunGoodBoy","html_url":"https://github.com/SunGoodBoy","followers_url":"https://api.github.com/users/SunGoodBoy/followers","following_url":"https://api.github.com/users/SunGoodBoy/following{/other_user}","gists_url":"https://api.github.com/users/SunGoodBoy/gists{/gist_id}","starred_url":"https://api.github.com/users/SunGoodBoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SunGoodBoy/subscriptions","organizations_url":"https://api.github.com/users/SunGoodBoy/orgs","repos_url":"https://api.github.com/users/SunGoodBoy/repos","events_url":"https://api.github.com/users/SunGoodBoy/events{/privacy}","received_events_url":"https://api.github.com/users/SunGoodBoy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-31T06:26:44Z","updated_at":"2016-01-01T11:29:32Z","closed_at":null,"body":"To reuse the code, I want extracting HttpUtil. There are two choices: HttpURLConnection and HttpClient.\r\nThe previous url connection in project was processed by HttpClient. But it is deprecated in Android6.0 and it runs more net traffic than HttpURLConnection. However, HttpURLConnection did't support cookies, so it must be  used with CookieManager. Both of them have advantages and disadvantages.\r\nSo, which one should be chose? I need time to think."},"comment":{"url":"https://api.github.com/repos/SunGoodBoy/EasyEcard/issues/comments/168302504","html_url":"https://github.com/SunGoodBoy/EasyEcard/issues/4#issuecomment-168302504","issue_url":"https://api.github.com/repos/SunGoodBoy/EasyEcard/issues/4","id":168302504,"user":{"login":"SunGoodBoy","id":15101533,"avatar_url":"https://avatars.githubusercontent.com/u/15101533?v=3","gravatar_id":"","url":"https://api.github.com/users/SunGoodBoy","html_url":"https://github.com/SunGoodBoy","followers_url":"https://api.github.com/users/SunGoodBoy/followers","following_url":"https://api.github.com/users/SunGoodBoy/following{/other_user}","gists_url":"https://api.github.com/users/SunGoodBoy/gists{/gist_id}","starred_url":"https://api.github.com/users/SunGoodBoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SunGoodBoy/subscriptions","organizations_url":"https://api.github.com/users/SunGoodBoy/orgs","repos_url":"https://api.github.com/users/SunGoodBoy/repos","events_url":"https://api.github.com/users/SunGoodBoy/events{/privacy}","received_events_url":"https://api.github.com/users/SunGoodBoy/received_events","type":"User","site_admin":false},"created_at":"2016-01-01T11:29:32Z","updated_at":"2016-01-01T11:29:32Z","body":"To easily deal with cookie, I decieded to use HttpClient."}}