{"action":"opened","issue":{"url":"https://api.github.com/repos/delight-im/Android-AdvancedWebView/issues/32","labels_url":"https://api.github.com/repos/delight-im/Android-AdvancedWebView/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/delight-im/Android-AdvancedWebView/issues/32/comments","events_url":"https://api.github.com/repos/delight-im/Android-AdvancedWebView/issues/32/events","html_url":"https://github.com/delight-im/Android-AdvancedWebView/issues/32","id":123185873,"number":32,"title":"See how Android stock browser handled downloads","user":{"login":"mwaclawek","id":1681478,"avatar_url":"https://avatars.githubusercontent.com/u/1681478?v=3","gravatar_id":"","url":"https://api.github.com/users/mwaclawek","html_url":"https://github.com/mwaclawek","followers_url":"https://api.github.com/users/mwaclawek/followers","following_url":"https://api.github.com/users/mwaclawek/following{/other_user}","gists_url":"https://api.github.com/users/mwaclawek/gists{/gist_id}","starred_url":"https://api.github.com/users/mwaclawek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwaclawek/subscriptions","organizations_url":"https://api.github.com/users/mwaclawek/orgs","repos_url":"https://api.github.com/users/mwaclawek/repos","events_url":"https://api.github.com/users/mwaclawek/events{/privacy}","received_events_url":"https://api.github.com/users/mwaclawek/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/delight-im/Android-AdvancedWebView/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-20T22:04:58Z","updated_at":"2015-12-20T22:04:58Z","closed_at":null,"body":"See how the old Android stock browser [handled downloads](https://android.googlesource.com/platform/packages/apps/Browser/+/kitkat-release/src/com/android/browser/DownloadHandler.java) and check what we can re-use to improve the internal download handler.\r\n\r\nFor example, [URLUtil.guessFileName](http://developer.android.com/reference/android/webkit/URLUtil.html) could be used to determine a proper filename automatically, especially choosing the right extension."}}