{"action":"created","comment":{"url":"https://api.github.com/repos/sociomantic-tsunami/octod/pulls/comments/92263502","pull_request_review_id":12776073,"id":92263502,"diff_hunk":"@@ -218,9 +204,10 @@ struct HTTPConnection\n             }\n \n             // Most responses are JSON, but there are also some plain\n-            // text ones that have to be handled differently:\n+            // text ones that have to be handled differently (octod doesn't\n+            // support XML responses):\n \n-            if (accept == ResponseFormat.Version)\n+            if (accept.format != \"json\")","path":"source/octod/core.d","position":null,"original_position":57,"commit_id":"42c4c91e165e2e955272cb0aff0c4261251e48b5","original_commit_id":"42c4c91e165e2e955272cb0aff0c4261251e48b5","user":{"login":"leandro-lucarella-sociomantic","id":2684688,"avatar_url":"https://avatars.githubusercontent.com/u/2684688?v=3","gravatar_id":"","url":"https://api.github.com/users/leandro-lucarella-sociomantic","html_url":"https://github.com/leandro-lucarella-sociomantic","followers_url":"https://api.github.com/users/leandro-lucarella-sociomantic/followers","following_url":"https://api.github.com/users/leandro-lucarella-sociomantic/following{/other_user}","gists_url":"https://api.github.com/users/leandro-lucarella-sociomantic/gists{/gist_id}","starred_url":"https://api.github.com/users/leandro-lucarella-sociomantic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leandro-lucarella-sociomantic/subscriptions","organizations_url":"https://api.github.com/users/leandro-lucarella-sociomantic/orgs","repos_url":"https://api.github.com/users/leandro-lucarella-sociomantic/repos","events_url":"https://api.github.com/users/leandro-lucarella-sociomantic/events{/privacy}","received_events_url":"https://api.github.com/users/leandro-lucarella-sociomantic/received_events","type":"User","site_admin":false},"body":"No enum for this \"json\"?","created_at":"2016-12-13T20:53:02Z","updated_at":"2016-12-13T21:00:52Z","html_url":"https://github.com/sociomantic-tsunami/octod/pull/5#discussion_r92263502","pull_request_url":"https://api.github.com/repos/sociomantic-tsunami/octod/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/sociomantic-tsunami/octod/pulls/comments/92263502"},"html":{"href":"https://github.com/sociomantic-tsunami/octod/pull/5#discussion_r92263502"},"pull_request":{"href":"https://api.github.com/repos/sociomantic-tsunami/octod/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/sociomantic-tsunami/octod/pulls/5","id":96130995,"html_url":"https://github.com/sociomantic-tsunami/octod/pull/5","diff_url":"https://github.com/sociomantic-tsunami/octod/pull/5.diff","patch_url":"https://github.com/sociomantic-tsunami/octod/pull/5.patch","issue_url":"https://api.github.com/repos/sociomantic-tsunami/octod/issues/5","number":5,"state":"open","locked":false,"title":"Various improvements in core HTTPConnection struct","user":{"login":"mihails-strasuns-sociomantic","id":4718368,"avatar_url":"https://avatars.githubusercontent.com/u/4718368?v=3","gravatar_id":"","url":"https://api.github.com/users/mihails-strasuns-sociomantic","html_url":"https://github.com/mihails-strasuns-sociomantic","followers_url":"https://api.github.com/users/mihails-strasuns-sociomantic/followers","following_url":"https://api.github.com/users/mihails-strasuns-sociomantic/following{/other_user}","gists_url":"https://api.github.com/users/mihails-strasuns-sociomantic/gists{/gist_id}","starred_url":"https://api.github.com/users/mihails-strasuns-sociomantic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mihails-strasuns-sociomantic/subscriptions","organizations_url":"https://api.github.com/users/mihails-strasuns-sociomantic/orgs","repos_url":"https://api.github.com/users/mihails-strasuns-sociomantic/repos","events_url":"https://api.github.com/users/mihails-strasuns-sociomantic/events{/privacy}","received_events_url":"https://api.github.com/users/mihails-strasuns-sociomantic/received_events","type":"User","site_admin":false},"body":"- redirects\n- non-json responses\n- custom content types","created_at":"2016-12-01T17:12:03Z","updated_at":"2016-12-13T21:00:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9043edd05f97d047e83d90fffbe6ceb4dda377bf","assignee":{"login":"leandro-lucarella-sociomantic","id":2684688,"avatar_url":"https://avatars.githubusercontent.com/u/2684688?v=3","gravatar_id":"","url":"https://api.github.com/users/leandro-lucarella-sociomantic","html_url":"https://github.com/leandro-lucarella-sociomantic","followers_url":"https://api.github.com/users/leandro-lucarella-sociomantic/followers","following_url":"https://api.github.com/users/leandro-lucarella-sociomantic/following{/other_user}","gists_url":"https://api.github.com/users/leandro-lucarella-sociomantic/gists{/gist_id}","starred_url":"https://api.github.com/users/leandro-lucarella-sociomantic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leandro-lucarella-sociomantic/subscriptions","organizations_url":"https://api.github.com/users/leandro-lucarella-sociomantic/orgs","repos_url":"https://api.github.com/users/leandro-lucarella-sociomantic/repos","events_url":"https://api.github.com/users/leandro-lucarella-sociomantic/events{/privacy}","received_events_url":"https://api.github.com/users/leandro-lucarella-sociomantic/received_events","type":"User","site_admin":false},"assignees":[{"login":"leandro-lucarella-sociomantic","id":2684688,"avatar_url":"https://avatars.githubusercontent.com/u/2684688?v=3","gravatar_id":"","url":"https://api.github.com/users/leandro-lucarella-sociomantic","html_url":"https://github.com/leandro-lucarella-sociomantic","followers_url":"https://api.github.com/users/leandro-lucarella-sociomantic/followers","following_url":"https://api.github.com/users/leandro-lucarella-sociomantic/following{/other_user}","gists_url":"https://api.github.com/users/leandro-lucarella-sociomantic/gists{/gist_id}","starred_url":"https://api.github.com/users/leandro-lucarella-sociomantic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leandro-lucarella-sociomantic/subscriptions","organizations_url":"https://api.github.com/users/leandro-lucarella-sociomantic/orgs","repos_url":"https://api.github.com/users/leandro-lucarella-sociomantic/repos","events_url":"https://api.github.com/users/leandro-lucarella-sociomantic/events{/privacy}","received_events_url":"https://api.github.com/users/leandro-lucarella-sociomantic/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/sociomantic-tsunami/octod/milestones/1","html_url":"https://github.com/sociomantic-tsunami/octod/milestone/1","labels_url":"https://api.github.com/repos/sociomantic-tsunami/octod/milestones/1/labels","id":2169316,"number":1,"title":"First announcement","description":"","creator":{"login":"mihails-strasuns-sociomantic","id":4718368,"avatar_url":"https://avatars.githubusercontent.com/u/4718368?v=3","gravatar_id":"","url":"https://api.github.com/users/mihails-strasuns-sociomantic","html_url":"https://github.com/mihails-strasuns-sociomantic","followers_url":"https://api.github.com/users/mihails-strasuns-sociomantic/followers","following_url":"https://api.github.com/users/mihails-strasuns-sociomantic/following{/other_user}","gists_url":"https://api.github.com/users/mihails-strasuns-sociomantic/gists{/gist_id}","starred_url":"https://api.github.com/users/mihails-strasuns-sociomantic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mihails-strasuns-sociomantic/subscriptions","organizations_url":"https://api.github.com/users/mihails-strasuns-sociomantic/orgs","repos_url":"https://api.github.com/users/mihails-strasuns-sociomantic/repos","events_url":"https://api.github.com/users/mihails-strasuns-sociomantic/events{/privacy}","received_events_url":"https://api.github.com/users/mihails-strasuns-sociomantic/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":2,"state":"open","created_at":"2016-12-01T16:53:38Z","updated_at":"2016-12-07T23:01:00Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/sociomantic-tsunami/octod/pulls/5/commits","review_comments_url":"https://api.github.com/repos/sociomantic-tsunami/octod/pulls/5/comments","review_comment_url":"https://api.github.com/repos/sociomantic-tsunami/octod/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sociomantic-tsunami/octod/issues/5/comments","statuses_url":"https://api.github.com/repos/sociomantic-tsunami/octod/statuses/42c4c91e165e2e955272cb0aff0c4261251e48b5","head":{"label":"mihails-strasuns-sociomantic:better-core","ref":"better-core","sha":"42c4c91e165e2e955272cb0aff0c4261251e48b5","user":{"login":"mihails-strasuns-sociomantic","id":4718368,"avatar_url":"https://avatars.githubusercontent.com/u/4718368?v=3","gravatar_id":"","url":"https://api.github.com/users/mihails-strasuns-sociomantic","html_url":"https://github.com/mihails-strasuns-sociomantic","followers_url":"https://api.github.com/users/mihails-strasuns-sociomantic/followers","following_url":"https://api.github.com/users/mihails-strasuns-sociomantic/following{/other_user}","gists_url":"https://api.github.com/users/mihails-strasuns-sociomantic/gists{/gist_id}","starred_url":"https://api.github.com/users/mihails-strasuns-sociomantic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mihails-strasuns-sociomantic/subscriptions","organizations_url":"https://api.github.com/users/mihails-strasuns-sociomantic/orgs","repos_url":"https://api.github.com/users/mihails-strasuns-sociomantic/repos","events_url":"https://api.github.com/users/mihails-strasuns-sociomantic/events{/privacy}","received_events_url":"https://api.github.com/users/mihails-strasuns-sociomantic/received_events","type":"User","site_admin":false},"repo":{"id":74395736,"name":"octod","full_name":"mihails-strasuns-sociomantic/octod","owner":{"login":"mihails-strasuns-sociomantic","id":4718368,"avatar_url":"https://avatars.githubusercontent.com/u/4718368?v=3","gravatar_id":"","url":"https://api.github.com/users/mihails-strasuns-sociomantic","html_url":"https://github.com/mihails-strasuns-sociomantic","followers_url":"https://api.github.com/users/mihails-strasuns-sociomantic/followers","following_url":"https://api.github.com/users/mihails-strasuns-sociomantic/following{/other_user}","gists_url":"https://api.github.com/users/mihails-strasuns-sociomantic/gists{/gist_id}","starred_url":"https://api.github.com/users/mihails-strasuns-sociomantic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mihails-strasuns-sociomantic/subscriptions","organizations_url":"https://api.github.com/users/mihails-strasuns-sociomantic/orgs","repos_url":"https://api.github.com/users/mihails-strasuns-sociomantic/repos","events_url":"https://api.github.com/users/mihails-strasuns-sociomantic/events{/privacy}","received_events_url":"https://api.github.com/users/mihails-strasuns-sociomantic/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mihails-strasuns-sociomantic/octod","description":"D library to interact with the GitHub API","fork":true,"url":"https://api.github.com/repos/mihails-strasuns-sociomantic/octod","forks_url":"https://api.github.com/repos/mihails-strasuns-sociomantic/octod/forks","keys_url":"https://api.github.com/repos/mihails-strasuns-sociomantic/octod/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mihails-strasuns-sociomantic/octod/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mihails-strasuns-sociomantic/octod/teams","hooks_url":"https://api.github.com/repos/mihails-strasuns-sociomantic/octod/hooks","issue_events_url":"https://api.github.com/repos/mihails-strasuns-sociomantic/octod/issues/events{/number}","events_url":"https://api.github.com/repos/mihails-strasuns-sociomantic/octod/events","assignees_url":"https://api.github.com/repos/mihails-strasuns-sociomantic/octod/assignees{/user}","branches_url":"https://api.github.com/repos/mihails-strasuns-sociomantic/octod/branches{/branch}","tags_url":"https://api.github.com/repos/mihails-strasuns-sociomantic/octod/tags","blobs_url":"https://api.github.com/repos/mihails-strasuns-sociomantic/octod/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mihails-strasuns-sociomantic/octod/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mihails-strasuns-sociomantic/octod/git/refs{/sha}","trees_url":"https://api.github.com/repos/mihails-strasuns-sociomantic/octod/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mihails-strasuns-sociomantic/octod/statuses/{sha}","languages_url":"https://api.github.com/repos/mihails-strasuns-sociomantic/octod/languages","stargazers_url":"https://api.github.com/repos/mihails-strasuns-sociomantic/octod/stargazers","contributors_url":"https://api.github.com/repos/mihails-strasuns-sociomantic/octod/contributors","subscribers_url":"https://api.github.com/repos/mihails-strasuns-sociomantic/octod/subscribers","subscription_url":"https://api.github.com/repos/mihails-strasuns-sociomantic/octod/subscription","commits_url":"https://api.github.com/repos/mihails-strasuns-sociomantic/octod/commits{/sha}","git_commits_url":"https://api.github.com/repos/mihails-strasuns-sociomantic/octod/git/commits{/sha}","comments_url":"https://api.github.com/repos/mihails-strasuns-sociomantic/octod/comments{/number}","issue_comment_url":"https://api.github.com/repos/mihails-strasuns-sociomantic/octod/issues/comments{/number}","contents_url":"https://api.github.com/repos/mihails-strasuns-sociomantic/octod/contents/{+path}","compare_url":"https://api.github.com/repos/mihails-strasuns-sociomantic/octod/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mihails-strasuns-sociomantic/octod/merges","archive_url":"https://api.github.com/repos/mihails-strasuns-sociomantic/octod/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mihails-strasuns-sociomantic/octod/downloads","issues_url":"https://api.github.com/repos/mihails-strasuns-sociomantic/octod/issues{/number}","pulls_url":"https://api.github.com/repos/mihails-strasuns-sociomantic/octod/pulls{/number}","milestones_url":"https://api.github.com/repos/mihails-strasuns-sociomantic/octod/milestones{/number}","notifications_url":"https://api.github.com/repos/mihails-strasuns-sociomantic/octod/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mihails-strasuns-sociomantic/octod/labels{/name}","releases_url":"https://api.github.com/repos/mihails-strasuns-sociomantic/octod/releases{/id}","deployments_url":"https://api.github.com/repos/mihails-strasuns-sociomantic/octod/deployments","created_at":"2016-11-21T18:57:26Z","updated_at":"2016-11-18T08:38:46Z","pushed_at":"2016-12-13T11:01:26Z","git_url":"git://github.com/mihails-strasuns-sociomantic/octod.git","ssh_url":"git@github.com:mihails-strasuns-sociomantic/octod.git","clone_url":"https://github.com/mihails-strasuns-sociomantic/octod.git","svn_url":"https://github.com/mihails-strasuns-sociomantic/octod","homepage":null,"size":32,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"sociomantic-tsunami:master","ref":"master","sha":"ad05fbce2ad92afdda5870da546cb24c6cf3efc9","user":{"login":"sociomantic-tsunami","id":16766217,"avatar_url":"https://avatars.githubusercontent.com/u/16766217?v=3","gravatar_id":"","url":"https://api.github.com/users/sociomantic-tsunami","html_url":"https://github.com/sociomantic-tsunami","followers_url":"https://api.github.com/users/sociomantic-tsunami/followers","following_url":"https://api.github.com/users/sociomantic-tsunami/following{/other_user}","gists_url":"https://api.github.com/users/sociomantic-tsunami/gists{/gist_id}","starred_url":"https://api.github.com/users/sociomantic-tsunami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sociomantic-tsunami/subscriptions","organizations_url":"https://api.github.com/users/sociomantic-tsunami/orgs","repos_url":"https://api.github.com/users/sociomantic-tsunami/repos","events_url":"https://api.github.com/users/sociomantic-tsunami/events{/privacy}","received_events_url":"https://api.github.com/users/sociomantic-tsunami/received_events","type":"Organization","site_admin":false},"repo":{"id":74111038,"name":"octod","full_name":"sociomantic-tsunami/octod","owner":{"login":"sociomantic-tsunami","id":16766217,"avatar_url":"https://avatars.githubusercontent.com/u/16766217?v=3","gravatar_id":"","url":"https://api.github.com/users/sociomantic-tsunami","html_url":"https://github.com/sociomantic-tsunami","followers_url":"https://api.github.com/users/sociomantic-tsunami/followers","following_url":"https://api.github.com/users/sociomantic-tsunami/following{/other_user}","gists_url":"https://api.github.com/users/sociomantic-tsunami/gists{/gist_id}","starred_url":"https://api.github.com/users/sociomantic-tsunami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sociomantic-tsunami/subscriptions","organizations_url":"https://api.github.com/users/sociomantic-tsunami/orgs","repos_url":"https://api.github.com/users/sociomantic-tsunami/repos","events_url":"https://api.github.com/users/sociomantic-tsunami/events{/privacy}","received_events_url":"https://api.github.com/users/sociomantic-tsunami/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sociomantic-tsunami/octod","description":"D library to interact with the GitHub API","fork":false,"url":"https://api.github.com/repos/sociomantic-tsunami/octod","forks_url":"https://api.github.com/repos/sociomantic-tsunami/octod/forks","keys_url":"https://api.github.com/repos/sociomantic-tsunami/octod/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sociomantic-tsunami/octod/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sociomantic-tsunami/octod/teams","hooks_url":"https://api.github.com/repos/sociomantic-tsunami/octod/hooks","issue_events_url":"https://api.github.com/repos/sociomantic-tsunami/octod/issues/events{/number}","events_url":"https://api.github.com/repos/sociomantic-tsunami/octod/events","assignees_url":"https://api.github.com/repos/sociomantic-tsunami/octod/assignees{/user}","branches_url":"https://api.github.com/repos/sociomantic-tsunami/octod/branches{/branch}","tags_url":"https://api.github.com/repos/sociomantic-tsunami/octod/tags","blobs_url":"https://api.github.com/repos/sociomantic-tsunami/octod/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sociomantic-tsunami/octod/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sociomantic-tsunami/octod/git/refs{/sha}","trees_url":"https://api.github.com/repos/sociomantic-tsunami/octod/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sociomantic-tsunami/octod/statuses/{sha}","languages_url":"https://api.github.com/repos/sociomantic-tsunami/octod/languages","stargazers_url":"https://api.github.com/repos/sociomantic-tsunami/octod/stargazers","contributors_url":"https://api.github.com/repos/sociomantic-tsunami/octod/contributors","subscribers_url":"https://api.github.com/repos/sociomantic-tsunami/octod/subscribers","subscription_url":"https://api.github.com/repos/sociomantic-tsunami/octod/subscription","commits_url":"https://api.github.com/repos/sociomantic-tsunami/octod/commits{/sha}","git_commits_url":"https://api.github.com/repos/sociomantic-tsunami/octod/git/commits{/sha}","comments_url":"https://api.github.com/repos/sociomantic-tsunami/octod/comments{/number}","issue_comment_url":"https://api.github.com/repos/sociomantic-tsunami/octod/issues/comments{/number}","contents_url":"https://api.github.com/repos/sociomantic-tsunami/octod/contents/{+path}","compare_url":"https://api.github.com/repos/sociomantic-tsunami/octod/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sociomantic-tsunami/octod/merges","archive_url":"https://api.github.com/repos/sociomantic-tsunami/octod/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sociomantic-tsunami/octod/downloads","issues_url":"https://api.github.com/repos/sociomantic-tsunami/octod/issues{/number}","pulls_url":"https://api.github.com/repos/sociomantic-tsunami/octod/pulls{/number}","milestones_url":"https://api.github.com/repos/sociomantic-tsunami/octod/milestones{/number}","notifications_url":"https://api.github.com/repos/sociomantic-tsunami/octod/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sociomantic-tsunami/octod/labels{/name}","releases_url":"https://api.github.com/repos/sociomantic-tsunami/octod/releases{/id}","deployments_url":"https://api.github.com/repos/sociomantic-tsunami/octod/deployments","created_at":"2016-11-18T08:38:46Z","updated_at":"2016-12-02T14:06:47Z","pushed_at":"2016-12-13T11:01:26Z","git_url":"git://github.com/sociomantic-tsunami/octod.git","ssh_url":"git@github.com:sociomantic-tsunami/octod.git","clone_url":"https://github.com/sociomantic-tsunami/octod.git","svn_url":"https://github.com/sociomantic-tsunami/octod","homepage":null,"size":49,"stargazers_count":1,"watchers_count":1,"language":"D","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sociomantic-tsunami/octod/pulls/5"},"html":{"href":"https://github.com/sociomantic-tsunami/octod/pull/5"},"issue":{"href":"https://api.github.com/repos/sociomantic-tsunami/octod/issues/5"},"comments":{"href":"https://api.github.com/repos/sociomantic-tsunami/octod/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/sociomantic-tsunami/octod/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/sociomantic-tsunami/octod/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sociomantic-tsunami/octod/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/sociomantic-tsunami/octod/statuses/42c4c91e165e2e955272cb0aff0c4261251e48b5"}}}}
{"actor":{"display_login":"leandro-lucarella-sociomantic"}}