{"action":"created","issue":{"url":"https://api.github.com/repos/Kinto/kinto-http.py/issues/107","repository_url":"https://api.github.com/repos/Kinto/kinto-http.py","labels_url":"https://api.github.com/repos/Kinto/kinto-http.py/issues/107/labels{/name}","comments_url":"https://api.github.com/repos/Kinto/kinto-http.py/issues/107/comments","events_url":"https://api.github.com/repos/Kinto/kinto-http.py/issues/107/events","html_url":"https://github.com/Kinto/kinto-http.py/issues/107","id":185895795,"number":107,"title":"Should not raise \"Not found\" if error response is 401","user":{"login":"leplatrem","id":546692,"avatar_url":"https://avatars.githubusercontent.com/u/546692?v=3","gravatar_id":"","url":"https://api.github.com/users/leplatrem","html_url":"https://github.com/leplatrem","followers_url":"https://api.github.com/users/leplatrem/followers","following_url":"https://api.github.com/users/leplatrem/following{/other_user}","gists_url":"https://api.github.com/users/leplatrem/gists{/gist_id}","starred_url":"https://api.github.com/users/leplatrem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leplatrem/subscriptions","organizations_url":"https://api.github.com/users/leplatrem/orgs","repos_url":"https://api.github.com/users/leplatrem/repos","events_url":"https://api.github.com/users/leplatrem/events{/privacy}","received_events_url":"https://api.github.com/users/leplatrem/received_events","type":"User","site_admin":false},"labels":[{"id":226030028,"url":"https://api.github.com/repos/Kinto/kinto-http.py/labels/bug","name":"bug","color":"fc2929","default":true},{"id":315105457,"url":"https://api.github.com/repos/Kinto/kinto-http.py/labels/easy-pick","name":"easy-pick","color":"fbca04","default":false},{"id":226030030,"url":"https://api.github.com/repos/Kinto/kinto-http.py/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-28T11:00:19Z","updated_at":"2016-10-30T10:31:57Z","closed_at":null,"body":"From client:\r\n```\r\n>>> client.get_bucket(bucket=\"source\")\r\n\r\nTraceback (most recent call last):\r\n  File \"output-yaml.py\", line 43, in <module>\r\n    main()\r\n  File \"output-yaml.py\", line 38, in main\r\n    result = introspect_server(client)\r\n  File \"output-yaml.py\", line 16, in introspect_server\r\n    for bucket in buckets\r\n  File \"output-yaml.py\", line 16, in <dictcomp>\r\n    for bucket in buckets\r\n  File \"output-yaml.py\", line 22, in introspect_bucket\r\n    print client.get_bucket(bid)\r\n  File \"/home/mathieu/Code/Mozilla/kinto.py/kinto_http/__init__.py\", line 243, in get_bucket\r\n    raise BucketNotFound(bucket or self._bucket_name, e)\r\nkinto_http.exceptions.BucketNotFound: (BucketNotFound(...), u'source')\r\n\r\n```\r\n\r\nFrom server:\r\n```\r\n\"GET   /v1/buckets/source\" 401 (3 ms) request.summary agent=python-requests/2.9.1 authn_type=None errno=104 lang=None time=2016-10-28T12:58:09 uid=None\r\n\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/Kinto/kinto-http.py/issues/comments/257143337","html_url":"https://github.com/Kinto/kinto-http.py/issues/107#issuecomment-257143337","issue_url":"https://api.github.com/repos/Kinto/kinto-http.py/issues/107","id":257143337,"user":{"login":"prabhakar267","id":10768588,"avatar_url":"https://avatars.githubusercontent.com/u/10768588?v=3","gravatar_id":"","url":"https://api.github.com/users/prabhakar267","html_url":"https://github.com/prabhakar267","followers_url":"https://api.github.com/users/prabhakar267/followers","following_url":"https://api.github.com/users/prabhakar267/following{/other_user}","gists_url":"https://api.github.com/users/prabhakar267/gists{/gist_id}","starred_url":"https://api.github.com/users/prabhakar267/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prabhakar267/subscriptions","organizations_url":"https://api.github.com/users/prabhakar267/orgs","repos_url":"https://api.github.com/users/prabhakar267/repos","events_url":"https://api.github.com/users/prabhakar267/events{/privacy}","received_events_url":"https://api.github.com/users/prabhakar267/received_events","type":"User","site_admin":false},"created_at":"2016-10-30T10:31:57Z","updated_at":"2016-10-30T10:31:57Z","body":"@leplatrem  I would like to take this issue"}}
{"actor":{"display_login":"prabhakar267"}}