{"action":"reopened","issue":{"url":"https://api.github.com/repos/qiniu/python-sdk/issues/228","repository_url":"https://api.github.com/repos/qiniu/python-sdk","labels_url":"https://api.github.com/repos/qiniu/python-sdk/issues/228/labels{/name}","comments_url":"https://api.github.com/repos/qiniu/python-sdk/issues/228/comments","events_url":"https://api.github.com/repos/qiniu/python-sdk/issues/228/events","html_url":"https://github.com/qiniu/python-sdk/issues/228","id":183896695,"number":228,"title":"How to fix the wrong while using python-sdk","user":{"login":"pony-yu","id":10556854,"avatar_url":"https://avatars.githubusercontent.com/u/10556854?v=3","gravatar_id":"","url":"https://api.github.com/users/pony-yu","html_url":"https://github.com/pony-yu","followers_url":"https://api.github.com/users/pony-yu/followers","following_url":"https://api.github.com/users/pony-yu/following{/other_user}","gists_url":"https://api.github.com/users/pony-yu/gists{/gist_id}","starred_url":"https://api.github.com/users/pony-yu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pony-yu/subscriptions","organizations_url":"https://api.github.com/users/pony-yu/orgs","repos_url":"https://api.github.com/users/pony-yu/repos","events_url":"https://api.github.com/users/pony-yu/events{/privacy}","received_events_url":"https://api.github.com/users/pony-yu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-19T08:24:59Z","updated_at":"2016-12-06T01:59:01Z","closed_at":null,"body":"``` python\nFile \"/home/pony/JustforQniu/lib/python3.5/site-packages/qiniu/zone.py\", line 30, in get_up_host_by_token\n    up_hosts = self.get_up_host(ak, bucket)\n  File \"/home/pony/JustforQniu/lib/python3.5/site-packages/qiniu/zone.py\", line 49, in get_up_host\n    bucket_hosts = self.get_bucket_hosts(ak, bucket)\n  File \"/home/pony/JustforQniu/lib/python3.5/site-packages/qiniu/zone.py\", line 77, in get_bucket_hosts\n    scheme_hosts = hosts[self.scheme]\nKeyError: 'http'\n```\n"}}
{"actor":{"display_login":"longbai"}}