{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/31105","repository_url":"https://api.github.com/repos/dart-lang/sdk","labels_url":"https://api.github.com/repos/dart-lang/sdk/issues/31105/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/sdk/issues/31105/comments","events_url":"https://api.github.com/repos/dart-lang/sdk/issues/31105/events","html_url":"https://github.com/dart-lang/sdk/issues/31105","id":265552203,"node_id":"MDU6SXNzdWUyNjU1NTIyMDM=","number":31105,"title":"Getting error when adding Authorization header in http client","user":{"login":"aubykhan","id":1756496,"node_id":"MDQ6VXNlcjE3NTY0OTY=","avatar_url":"https://avatars1.githubusercontent.com/u/1756496?v=4","gravatar_id":"","url":"https://api.github.com/users/aubykhan","html_url":"https://github.com/aubykhan","followers_url":"https://api.github.com/users/aubykhan/followers","following_url":"https://api.github.com/users/aubykhan/following{/other_user}","gists_url":"https://api.github.com/users/aubykhan/gists{/gist_id}","starred_url":"https://api.github.com/users/aubykhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aubykhan/subscriptions","organizations_url":"https://api.github.com/users/aubykhan/orgs","repos_url":"https://api.github.com/users/aubykhan/repos","events_url":"https://api.github.com/users/aubykhan/events{/privacy}","received_events_url":"https://api.github.com/users/aubykhan/received_events","type":"User","site_admin":false},"labels":[{"id":219928184,"node_id":"MDU6TGFiZWwyMTk5MjgxODQ=","url":"https://api.github.com/repos/dart-lang/sdk/labels/area-library","name":"area-library","color":"c7def8","default":false},{"id":219928199,"node_id":"MDU6TGFiZWwyMTk5MjgxOTk=","url":"https://api.github.com/repos/dart-lang/sdk/labels/library-io","name":"library-io","color":"d4c5f9","default":false},{"id":334529063,"node_id":"MDU6TGFiZWwzMzQ1MjkwNjM=","url":"https://api.github.com/repos/dart-lang/sdk/labels/type-bug","name":"type-bug","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-15T07:27:49Z","updated_at":"2018-11-29T14:37:38Z","closed_at":null,"author_association":"NONE","body":"_Also posted [here](https://github.com/flutter/flutter/issues/12453)._\r\n\r\nI'm getting this error when I try to add `Authorization` header.\r\n![image](https://user-images.githubusercontent.com/1756496/31582663-6bc5004a-b1a3-11e7-9452-fff11d6bfed4.png)\r\n\r\nI'm adding headers like this (the call I'm using is `post`):\r\n![image](https://user-images.githubusercontent.com/1756496/31582666-7a5e70f0-b1a3-11e7-9fe4-14e5cb48a901.png)\r\n\r\nIf don't add the `Authorization` key in `headers` collection, the exception goes away.\r\n\r\nNeed urgent help on this.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/comments/442856145","html_url":"https://github.com/dart-lang/sdk/issues/31105#issuecomment-442856145","issue_url":"https://api.github.com/repos/dart-lang/sdk/issues/31105","id":442856145,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0Mjg1NjE0NQ==","user":{"login":"AndryHTC","id":29896004,"node_id":"MDQ6VXNlcjI5ODk2MDA0","avatar_url":"https://avatars2.githubusercontent.com/u/29896004?v=4","gravatar_id":"","url":"https://api.github.com/users/AndryHTC","html_url":"https://github.com/AndryHTC","followers_url":"https://api.github.com/users/AndryHTC/followers","following_url":"https://api.github.com/users/AndryHTC/following{/other_user}","gists_url":"https://api.github.com/users/AndryHTC/gists{/gist_id}","starred_url":"https://api.github.com/users/AndryHTC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndryHTC/subscriptions","organizations_url":"https://api.github.com/users/AndryHTC/orgs","repos_url":"https://api.github.com/users/AndryHTC/repos","events_url":"https://api.github.com/users/AndryHTC/events{/privacy}","received_events_url":"https://api.github.com/users/AndryHTC/received_events","type":"User","site_admin":false},"created_at":"2018-11-29T14:37:38Z","updated_at":"2018-11-29T14:37:38Z","author_association":"NONE","body":"I get the same error!\r\n... Also with the other HTTP package ([](https://pub.dartlang.org/packages/http))...\r\n\r\nCan someone help us?"}}
{"actor":{"display_login":"AndryHTC"}}