{"action":"created","comment":{"url":"https://api.github.com/repos/Datacom/Viewpoint/pulls/comments/44088207","id":44088207,"diff_hunk":"@@ -93,6 +93,13 @@ def post(xmldoc)\n     check_response( @httpcli.post(@endpoint, xmldoc, headers) )\n   end\n \n+  # Send an asynchronous POST request to the web service\n+  # @return HTTPClient::Connection instance\n+  def post_async(xmldoc)\n+    authenticate","path":"lib/ews/connection.rb","position":7,"original_position":7,"commit_id":"c6c4c0d3ec5962f2d44c65548175fa4b88c7a5de","original_commit_id":"c6c4c0d3ec5962f2d44c65548175fa4b88c7a5de","user":{"login":"tkudiyarova","id":2201645,"avatar_url":"https://avatars.githubusercontent.com/u/2201645?v=3","gravatar_id":"","url":"https://api.github.com/users/tkudiyarova","html_url":"https://github.com/tkudiyarova","followers_url":"https://api.github.com/users/tkudiyarova/followers","following_url":"https://api.github.com/users/tkudiyarova/following{/other_user}","gists_url":"https://api.github.com/users/tkudiyarova/gists{/gist_id}","starred_url":"https://api.github.com/users/tkudiyarova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkudiyarova/subscriptions","organizations_url":"https://api.github.com/users/tkudiyarova/orgs","repos_url":"https://api.github.com/users/tkudiyarova/repos","events_url":"https://api.github.com/users/tkudiyarova/events{/privacy}","received_events_url":"https://api.github.com/users/tkudiyarova/received_events","type":"User","site_admin":false},"body":"I have `401 Unauthorized` error without `authenticate`.  Looks like `set_auth` method is not enough for async_post request, found this [related issue](https://github.com/nahi/httpclient/issues/181).","created_at":"2015-11-06T00:04:59Z","updated_at":"2015-11-06T00:04:59Z","html_url":"https://github.com/Datacom/Viewpoint/pull/3#discussion_r44088207","pull_request_url":"https://api.github.com/repos/Datacom/Viewpoint/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/Datacom/Viewpoint/pulls/comments/44088207"},"html":{"href":"https://github.com/Datacom/Viewpoint/pull/3#discussion_r44088207"},"pull_request":{"href":"https://api.github.com/repos/Datacom/Viewpoint/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/Datacom/Viewpoint/pulls/3","id":45239744,"html_url":"https://github.com/Datacom/Viewpoint/pull/3","diff_url":"https://github.com/Datacom/Viewpoint/pull/3.diff","patch_url":"https://github.com/Datacom/Viewpoint/pull/3.patch","issue_url":"https://api.github.com/repos/Datacom/Viewpoint/issues/3","number":3,"state":"open","locked":false,"title":"Add support for Streaming Notifications","user":{"login":"tkudiyarova","id":2201645,"avatar_url":"https://avatars.githubusercontent.com/u/2201645?v=3","gravatar_id":"","url":"https://api.github.com/users/tkudiyarova","html_url":"https://github.com/tkudiyarova","followers_url":"https://api.github.com/users/tkudiyarova/followers","following_url":"https://api.github.com/users/tkudiyarova/following{/other_user}","gists_url":"https://api.github.com/users/tkudiyarova/gists{/gist_id}","starred_url":"https://api.github.com/users/tkudiyarova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkudiyarova/subscriptions","organizations_url":"https://api.github.com/users/tkudiyarova/orgs","repos_url":"https://api.github.com/users/tkudiyarova/repos","events_url":"https://api.github.com/users/tkudiyarova/events{/privacy}","received_events_url":"https://api.github.com/users/tkudiyarova/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-17T00:21:00Z","updated_at":"2015-11-06T00:04:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f88252fd705f37d69b6ba09a0537b5875a2e34e4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Datacom/Viewpoint/pulls/3/commits","review_comments_url":"https://api.github.com/repos/Datacom/Viewpoint/pulls/3/comments","review_comment_url":"https://api.github.com/repos/Datacom/Viewpoint/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Datacom/Viewpoint/issues/3/comments","statuses_url":"https://api.github.com/repos/Datacom/Viewpoint/statuses/c6c4c0d3ec5962f2d44c65548175fa4b88c7a5de","head":{"label":"Datacom:streaming_notifications","ref":"streaming_notifications","sha":"c6c4c0d3ec5962f2d44c65548175fa4b88c7a5de","user":{"login":"Datacom","id":755965,"avatar_url":"https://avatars.githubusercontent.com/u/755965?v=3","gravatar_id":"","url":"https://api.github.com/users/Datacom","html_url":"https://github.com/Datacom","followers_url":"https://api.github.com/users/Datacom/followers","following_url":"https://api.github.com/users/Datacom/following{/other_user}","gists_url":"https://api.github.com/users/Datacom/gists{/gist_id}","starred_url":"https://api.github.com/users/Datacom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Datacom/subscriptions","organizations_url":"https://api.github.com/users/Datacom/orgs","repos_url":"https://api.github.com/users/Datacom/repos","events_url":"https://api.github.com/users/Datacom/events{/privacy}","received_events_url":"https://api.github.com/users/Datacom/received_events","type":"Organization","site_admin":false},"repo":{"id":41006358,"name":"Viewpoint","full_name":"Datacom/Viewpoint","owner":{"login":"Datacom","id":755965,"avatar_url":"https://avatars.githubusercontent.com/u/755965?v=3","gravatar_id":"","url":"https://api.github.com/users/Datacom","html_url":"https://github.com/Datacom","followers_url":"https://api.github.com/users/Datacom/followers","following_url":"https://api.github.com/users/Datacom/following{/other_user}","gists_url":"https://api.github.com/users/Datacom/gists{/gist_id}","starred_url":"https://api.github.com/users/Datacom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Datacom/subscriptions","organizations_url":"https://api.github.com/users/Datacom/orgs","repos_url":"https://api.github.com/users/Datacom/repos","events_url":"https://api.github.com/users/Datacom/events{/privacy}","received_events_url":"https://api.github.com/users/Datacom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Datacom/Viewpoint","description":"A Ruby client access library for Microsoft Exchange Web Services (EWS)","fork":true,"url":"https://api.github.com/repos/Datacom/Viewpoint","forks_url":"https://api.github.com/repos/Datacom/Viewpoint/forks","keys_url":"https://api.github.com/repos/Datacom/Viewpoint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Datacom/Viewpoint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Datacom/Viewpoint/teams","hooks_url":"https://api.github.com/repos/Datacom/Viewpoint/hooks","issue_events_url":"https://api.github.com/repos/Datacom/Viewpoint/issues/events{/number}","events_url":"https://api.github.com/repos/Datacom/Viewpoint/events","assignees_url":"https://api.github.com/repos/Datacom/Viewpoint/assignees{/user}","branches_url":"https://api.github.com/repos/Datacom/Viewpoint/branches{/branch}","tags_url":"https://api.github.com/repos/Datacom/Viewpoint/tags","blobs_url":"https://api.github.com/repos/Datacom/Viewpoint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Datacom/Viewpoint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Datacom/Viewpoint/git/refs{/sha}","trees_url":"https://api.github.com/repos/Datacom/Viewpoint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Datacom/Viewpoint/statuses/{sha}","languages_url":"https://api.github.com/repos/Datacom/Viewpoint/languages","stargazers_url":"https://api.github.com/repos/Datacom/Viewpoint/stargazers","contributors_url":"https://api.github.com/repos/Datacom/Viewpoint/contributors","subscribers_url":"https://api.github.com/repos/Datacom/Viewpoint/subscribers","subscription_url":"https://api.github.com/repos/Datacom/Viewpoint/subscription","commits_url":"https://api.github.com/repos/Datacom/Viewpoint/commits{/sha}","git_commits_url":"https://api.github.com/repos/Datacom/Viewpoint/git/commits{/sha}","comments_url":"https://api.github.com/repos/Datacom/Viewpoint/comments{/number}","issue_comment_url":"https://api.github.com/repos/Datacom/Viewpoint/issues/comments{/number}","contents_url":"https://api.github.com/repos/Datacom/Viewpoint/contents/{+path}","compare_url":"https://api.github.com/repos/Datacom/Viewpoint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Datacom/Viewpoint/merges","archive_url":"https://api.github.com/repos/Datacom/Viewpoint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Datacom/Viewpoint/downloads","issues_url":"https://api.github.com/repos/Datacom/Viewpoint/issues{/number}","pulls_url":"https://api.github.com/repos/Datacom/Viewpoint/pulls{/number}","milestones_url":"https://api.github.com/repos/Datacom/Viewpoint/milestones{/number}","notifications_url":"https://api.github.com/repos/Datacom/Viewpoint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Datacom/Viewpoint/labels{/name}","releases_url":"https://api.github.com/repos/Datacom/Viewpoint/releases{/id}","created_at":"2015-08-19T01:26:18Z","updated_at":"2015-08-19T01:26:21Z","pushed_at":"2015-11-01T22:47:57Z","git_url":"git://github.com/Datacom/Viewpoint.git","ssh_url":"git@github.com:Datacom/Viewpoint.git","clone_url":"https://github.com/Datacom/Viewpoint.git","svn_url":"https://github.com/Datacom/Viewpoint","homepage":"","size":1701,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"Datacom:master","ref":"master","sha":"2775774e2efeb8c040f0608f0c199a6dd3c5991a","user":{"login":"Datacom","id":755965,"avatar_url":"https://avatars.githubusercontent.com/u/755965?v=3","gravatar_id":"","url":"https://api.github.com/users/Datacom","html_url":"https://github.com/Datacom","followers_url":"https://api.github.com/users/Datacom/followers","following_url":"https://api.github.com/users/Datacom/following{/other_user}","gists_url":"https://api.github.com/users/Datacom/gists{/gist_id}","starred_url":"https://api.github.com/users/Datacom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Datacom/subscriptions","organizations_url":"https://api.github.com/users/Datacom/orgs","repos_url":"https://api.github.com/users/Datacom/repos","events_url":"https://api.github.com/users/Datacom/events{/privacy}","received_events_url":"https://api.github.com/users/Datacom/received_events","type":"Organization","site_admin":false},"repo":{"id":41006358,"name":"Viewpoint","full_name":"Datacom/Viewpoint","owner":{"login":"Datacom","id":755965,"avatar_url":"https://avatars.githubusercontent.com/u/755965?v=3","gravatar_id":"","url":"https://api.github.com/users/Datacom","html_url":"https://github.com/Datacom","followers_url":"https://api.github.com/users/Datacom/followers","following_url":"https://api.github.com/users/Datacom/following{/other_user}","gists_url":"https://api.github.com/users/Datacom/gists{/gist_id}","starred_url":"https://api.github.com/users/Datacom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Datacom/subscriptions","organizations_url":"https://api.github.com/users/Datacom/orgs","repos_url":"https://api.github.com/users/Datacom/repos","events_url":"https://api.github.com/users/Datacom/events{/privacy}","received_events_url":"https://api.github.com/users/Datacom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Datacom/Viewpoint","description":"A Ruby client access library for Microsoft Exchange Web Services (EWS)","fork":true,"url":"https://api.github.com/repos/Datacom/Viewpoint","forks_url":"https://api.github.com/repos/Datacom/Viewpoint/forks","keys_url":"https://api.github.com/repos/Datacom/Viewpoint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Datacom/Viewpoint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Datacom/Viewpoint/teams","hooks_url":"https://api.github.com/repos/Datacom/Viewpoint/hooks","issue_events_url":"https://api.github.com/repos/Datacom/Viewpoint/issues/events{/number}","events_url":"https://api.github.com/repos/Datacom/Viewpoint/events","assignees_url":"https://api.github.com/repos/Datacom/Viewpoint/assignees{/user}","branches_url":"https://api.github.com/repos/Datacom/Viewpoint/branches{/branch}","tags_url":"https://api.github.com/repos/Datacom/Viewpoint/tags","blobs_url":"https://api.github.com/repos/Datacom/Viewpoint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Datacom/Viewpoint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Datacom/Viewpoint/git/refs{/sha}","trees_url":"https://api.github.com/repos/Datacom/Viewpoint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Datacom/Viewpoint/statuses/{sha}","languages_url":"https://api.github.com/repos/Datacom/Viewpoint/languages","stargazers_url":"https://api.github.com/repos/Datacom/Viewpoint/stargazers","contributors_url":"https://api.github.com/repos/Datacom/Viewpoint/contributors","subscribers_url":"https://api.github.com/repos/Datacom/Viewpoint/subscribers","subscription_url":"https://api.github.com/repos/Datacom/Viewpoint/subscription","commits_url":"https://api.github.com/repos/Datacom/Viewpoint/commits{/sha}","git_commits_url":"https://api.github.com/repos/Datacom/Viewpoint/git/commits{/sha}","comments_url":"https://api.github.com/repos/Datacom/Viewpoint/comments{/number}","issue_comment_url":"https://api.github.com/repos/Datacom/Viewpoint/issues/comments{/number}","contents_url":"https://api.github.com/repos/Datacom/Viewpoint/contents/{+path}","compare_url":"https://api.github.com/repos/Datacom/Viewpoint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Datacom/Viewpoint/merges","archive_url":"https://api.github.com/repos/Datacom/Viewpoint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Datacom/Viewpoint/downloads","issues_url":"https://api.github.com/repos/Datacom/Viewpoint/issues{/number}","pulls_url":"https://api.github.com/repos/Datacom/Viewpoint/pulls{/number}","milestones_url":"https://api.github.com/repos/Datacom/Viewpoint/milestones{/number}","notifications_url":"https://api.github.com/repos/Datacom/Viewpoint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Datacom/Viewpoint/labels{/name}","releases_url":"https://api.github.com/repos/Datacom/Viewpoint/releases{/id}","created_at":"2015-08-19T01:26:18Z","updated_at":"2015-08-19T01:26:21Z","pushed_at":"2015-11-01T22:47:57Z","git_url":"git://github.com/Datacom/Viewpoint.git","ssh_url":"git@github.com:Datacom/Viewpoint.git","clone_url":"https://github.com/Datacom/Viewpoint.git","svn_url":"https://github.com/Datacom/Viewpoint","homepage":"","size":1701,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Datacom/Viewpoint/pulls/3"},"html":{"href":"https://github.com/Datacom/Viewpoint/pull/3"},"issue":{"href":"https://api.github.com/repos/Datacom/Viewpoint/issues/3"},"comments":{"href":"https://api.github.com/repos/Datacom/Viewpoint/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/Datacom/Viewpoint/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/Datacom/Viewpoint/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Datacom/Viewpoint/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/Datacom/Viewpoint/statuses/c6c4c0d3ec5962f2d44c65548175fa4b88c7a5de"}}}}