GitHub PullRequestReviewCommentEvent at 2014-10-17 18:37:43
Repository: pkgcloud
Actor: ivancevich
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/pkgcloud/pkgcloud/pulls/comments/19035058","id":19035058,"diff_hunk":"@@ -52,6 +52,10 @@ var Client = exports.Client = function (options) {\n   });\n \n   this.before.push(function (req) {\n+    if (req.headers['Content-Type'] && req.headers['Content-Type'] !== 'application/json') {\n+      req.json = false;\n+      return;\n+    }\n     req.json = true;","path":"lib/pkgcloud/openstack/client.js","position":8,"original_position":8,"commit_id":"90c7d81141346e9cfaf3a81f48169367f2192335","original_commit_id":"90c7d81141346e9cfaf3a81f48169367f2192335","user":{"login":"ivancevich","id":2357833,"avatar_url":"https://avatars.githubusercontent.com/u/2357833?v=2","gravatar_id":"","url":"https://api.github.com/users/ivancevich","html_url":"https://github.com/ivancevich","followers_url":"https://api.github.com/users/ivancevich/followers","following_url":"https://api.github.com/users/ivancevich/following{/other_user}","gists_url":"https://api.github.com/users/ivancevich/gists{/gist_id}","starred_url":"https://api.github.com/users/ivancevich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivancevich/subscriptions","organizations_url":"https://api.github.com/users/ivancevich/orgs","repos_url":"https://api.github.com/users/ivancevich/repos","events_url":"https://api.github.com/users/ivancevich/events{/privacy}","received_events_url":"https://api.github.com/users/ivancevich/received_events","type":"User","site_admin":false},"body":"You're right. I'll split it into 4 PRs.","created_at":"2014-10-17T18:37:43Z","updated_at":"2014-10-17T18:37:43Z","html_url":"https://github.com/pkgcloud/pkgcloud/pull/339#discussion_r19035058","pull_request_url":"https://api.github.com/repos/pkgcloud/pkgcloud/pulls/339","_links":{"self":{"href":"https://api.github.com/repos/pkgcloud/pkgcloud/pulls/comments/19035058"},"html":{"href":"https://github.com/pkgcloud/pkgcloud/pull/339#discussion_r19035058"},"pull_request":{"href":"https://api.github.com/repos/pkgcloud/pkgcloud/pulls/339"}}},"pull_request":{"url":"https://api.github.com/repos/pkgcloud/pkgcloud/pulls/339","id":22942577,"html_url":"https://github.com/pkgcloud/pkgcloud/pull/339","diff_url":"https://github.com/pkgcloud/pkgcloud/pull/339.diff","patch_url":"https://github.com/pkgcloud/pkgcloud/pull/339.patch","issue_url":"https://api.github.com/repos/pkgcloud/pkgcloud/issues/339","number":339,"state":"open","locked":false,"title":"openstack: bulk delete, subdirs, response event","user":{"login":"ivancevich","id":2357833,"avatar_url":"https://avatars.githubusercontent.com/u/2357833?v=2","gravatar_id":"","url":"https://api.github.com/users/ivancevich","html_url":"https://github.com/ivancevich","followers_url":"https://api.github.com/users/ivancevich/followers","following_url":"https://api.github.com/users/ivancevich/following{/other_user}","gists_url":"https://api.github.com/users/ivancevich/gists{/gist_id}","starred_url":"https://api.github.com/users/ivancevich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivancevich/subscriptions","organizations_url":"https://api.github.com/users/ivancevich/orgs","repos_url":"https://api.github.com/users/ivancevich/repos","events_url":"https://api.github.com/users/ivancevich/events{/privacy}","received_events_url":"https://api.github.com/users/ivancevich/received_events","type":"User","site_admin":false},"body":"This commit adds fixes and features to interact with OpenStack.\r\nWe've tested them against HP Cloud.","created_at":"2014-10-17T18:15:38Z","updated_at":"2014-10-17T18:37:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"36394c923193248bf5cbeda284eb2a870d2ff8eb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pkgcloud/pkgcloud/pulls/339/commits","review_comments_url":"https://api.github.com/repos/pkgcloud/pkgcloud/pulls/339/comments","review_comment_url":"https://api.github.com/repos/pkgcloud/pkgcloud/pulls/comments/{number}","comments_url":"https://api.github.com/repos/pkgcloud/pkgcloud/issues/339/comments","statuses_url":"https://api.github.com/repos/pkgcloud/pkgcloud/statuses/90c7d81141346e9cfaf3a81f48169367f2192335","head":{"label":"kidozen:to-pull-request","ref":"to-pull-request","sha":"90c7d81141346e9cfaf3a81f48169367f2192335","user":{"login":"kidozen","id":3694795,"avatar_url":"https://avatars.githubusercontent.com/u/3694795?v=2","gravatar_id":"","url":"https://api.github.com/users/kidozen","html_url":"https://github.com/kidozen","followers_url":"https://api.github.com/users/kidozen/followers","following_url":"https://api.github.com/users/kidozen/following{/other_user}","gists_url":"https://api.github.com/users/kidozen/gists{/gist_id}","starred_url":"https://api.github.com/users/kidozen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kidozen/subscriptions","organizations_url":"https://api.github.com/users/kidozen/orgs","repos_url":"https://api.github.com/users/kidozen/repos","events_url":"https://api.github.com/users/kidozen/events{/privacy}","received_events_url":"https://api.github.com/users/kidozen/received_events","type":"Organization","site_admin":false},"repo":{"id":25216887,"name":"pkgcloud","full_name":"kidozen/pkgcloud","owner":{"login":"kidozen","id":3694795,"avatar_url":"https://avatars.githubusercontent.com/u/3694795?v=2","gravatar_id":"","url":"https://api.github.com/users/kidozen","html_url":"https://github.com/kidozen","followers_url":"https://api.github.com/users/kidozen/followers","following_url":"https://api.github.com/users/kidozen/following{/other_user}","gists_url":"https://api.github.com/users/kidozen/gists{/gist_id}","starred_url":"https://api.github.com/users/kidozen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kidozen/subscriptions","organizations_url":"https://api.github.com/users/kidozen/orgs","repos_url":"https://api.github.com/users/kidozen/repos","events_url":"https://api.github.com/users/kidozen/events{/privacy}","received_events_url":"https://api.github.com/users/kidozen/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kidozen/pkgcloud","description":"pkgcloud is a standard library for node.js that abstracts away differences among multiple cloud providers.","fork":true,"url":"https://api.github.com/repos/kidozen/pkgcloud","forks_url":"https://api.github.com/repos/kidozen/pkgcloud/forks","keys_url":"https://api.github.com/repos/kidozen/pkgcloud/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kidozen/pkgcloud/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kidozen/pkgcloud/teams","hooks_url":"https://api.github.com/repos/kidozen/pkgcloud/hooks","issue_events_url":"https://api.github.com/repos/kidozen/pkgcloud/issues/events{/number}","events_url":"https://api.github.com/repos/kidozen/pkgcloud/events","assignees_url":"https://api.github.com/repos/kidozen/pkgcloud/assignees{/user}","branches_url":"https://api.github.com/repos/kidozen/pkgcloud/branches{/branch}","tags_url":"https://api.github.com/repos/kidozen/pkgcloud/tags","blobs_url":"https://api.github.com/repos/kidozen/pkgcloud/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kidozen/pkgcloud/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kidozen/pkgcloud/git/refs{/sha}","trees_url":"https://api.github.com/repos/kidozen/pkgcloud/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kidozen/pkgcloud/statuses/{sha}","languages_url":"https://api.github.com/repos/kidozen/pkgcloud/languages","stargazers_url":"https://api.github.com/repos/kidozen/pkgcloud/stargazers","contributors_url":"https://api.github.com/repos/kidozen/pkgcloud/contributors","subscribers_url":"https://api.github.com/repos/kidozen/pkgcloud/subscribers","subscription_url":"https://api.github.com/repos/kidozen/pkgcloud/subscription","commits_url":"https://api.github.com/repos/kidozen/pkgcloud/commits{/sha}","git_commits_url":"https://api.github.com/repos/kidozen/pkgcloud/git/commits{/sha}","comments_url":"https://api.github.com/repos/kidozen/pkgcloud/comments{/number}","issue_comment_url":"https://api.github.com/repos/kidozen/pkgcloud/issues/comments/{number}","contents_url":"https://api.github.com/repos/kidozen/pkgcloud/contents/{+path}","compare_url":"https://api.github.com/repos/kidozen/pkgcloud/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kidozen/pkgcloud/merges","archive_url":"https://api.github.com/repos/kidozen/pkgcloud/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kidozen/pkgcloud/downloads","issues_url":"https://api.github.com/repos/kidozen/pkgcloud/issues{/number}","pulls_url":"https://api.github.com/repos/kidozen/pkgcloud/pulls{/number}","milestones_url":"https://api.github.com/repos/kidozen/pkgcloud/milestones{/number}","notifications_url":"https://api.github.com/repos/kidozen/pkgcloud/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kidozen/pkgcloud/labels{/name}","releases_url":"https://api.github.com/repos/kidozen/pkgcloud/releases{/id}","created_at":"2014-10-14T16:56:49Z","updated_at":"2014-10-14T16:59:45Z","pushed_at":"2014-10-17T18:11:28Z","git_url":"git://github.com/kidozen/pkgcloud.git","ssh_url":"git@github.com:kidozen/pkgcloud.git","clone_url":"https://github.com/kidozen/pkgcloud.git","svn_url":"https://github.com/kidozen/pkgcloud","homepage":"http://github.com/pkgcloud/pkgcloud","size":15861,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"pkgcloud:master","ref":"master","sha":"00561ea9d393a6b777edecbd0eaff770260f7fb0","user":{"login":"pkgcloud","id":6363726,"avatar_url":"https://avatars.githubusercontent.com/u/6363726?v=2","gravatar_id":"","url":"https://api.github.com/users/pkgcloud","html_url":"https://github.com/pkgcloud","followers_url":"https://api.github.com/users/pkgcloud/followers","following_url":"https://api.github.com/users/pkgcloud/following{/other_user}","gists_url":"https://api.github.com/users/pkgcloud/gists{/gist_id}","starred_url":"https://api.github.com/users/pkgcloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkgcloud/subscriptions","organizations_url":"https://api.github.com/users/pkgcloud/orgs","repos_url":"https://api.github.com/users/pkgcloud/repos","events_url":"https://api.github.com/users/pkgcloud/events{/privacy}","received_events_url":"https://api.github.com/users/pkgcloud/received_events","type":"Organization","site_admin":false},"repo":{"id":2898669,"name":"pkgcloud","full_name":"pkgcloud/pkgcloud","owner":{"login":"pkgcloud","id":6363726,"avatar_url":"https://avatars.githubusercontent.com/u/6363726?v=2","gravatar_id":"","url":"https://api.github.com/users/pkgcloud","html_url":"https://github.com/pkgcloud","followers_url":"https://api.github.com/users/pkgcloud/followers","following_url":"https://api.github.com/users/pkgcloud/following{/other_user}","gists_url":"https://api.github.com/users/pkgcloud/gists{/gist_id}","starred_url":"https://api.github.com/users/pkgcloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkgcloud/subscriptions","organizations_url":"https://api.github.com/users/pkgcloud/orgs","repos_url":"https://api.github.com/users/pkgcloud/repos","events_url":"https://api.github.com/users/pkgcloud/events{/privacy}","received_events_url":"https://api.github.com/users/pkgcloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pkgcloud/pkgcloud","description":"pkgcloud is a standard library for node.js that abstracts away differences among multiple cloud providers.","fork":false,"url":"https://api.github.com/repos/pkgcloud/pkgcloud","forks_url":"https://api.github.com/repos/pkgcloud/pkgcloud/forks","keys_url":"https://api.github.com/repos/pkgcloud/pkgcloud/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pkgcloud/pkgcloud/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pkgcloud/pkgcloud/teams","hooks_url":"https://api.github.com/repos/pkgcloud/pkgcloud/hooks","issue_events_url":"https://api.github.com/repos/pkgcloud/pkgcloud/issues/events{/number}","events_url":"https://api.github.com/repos/pkgcloud/pkgcloud/events","assignees_url":"https://api.github.com/repos/pkgcloud/pkgcloud/assignees{/user}","branches_url":"https://api.github.com/repos/pkgcloud/pkgcloud/branches{/branch}","tags_url":"https://api.github.com/repos/pkgcloud/pkgcloud/tags","blobs_url":"https://api.github.com/repos/pkgcloud/pkgcloud/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pkgcloud/pkgcloud/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pkgcloud/pkgcloud/git/refs{/sha}","trees_url":"https://api.github.com/repos/pkgcloud/pkgcloud/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pkgcloud/pkgcloud/statuses/{sha}","languages_url":"https://api.github.com/repos/pkgcloud/pkgcloud/languages","stargazers_url":"https://api.github.com/repos/pkgcloud/pkgcloud/stargazers","contributors_url":"https://api.github.com/repos/pkgcloud/pkgcloud/contributors","subscribers_url":"https://api.github.com/repos/pkgcloud/pkgcloud/subscribers","subscription_url":"https://api.github.com/repos/pkgcloud/pkgcloud/subscription","commits_url":"https://api.github.com/repos/pkgcloud/pkgcloud/commits{/sha}","git_commits_url":"https://api.github.com/repos/pkgcloud/pkgcloud/git/commits{/sha}","comments_url":"https://api.github.com/repos/pkgcloud/pkgcloud/comments{/number}","issue_comment_url":"https://api.github.com/repos/pkgcloud/pkgcloud/issues/comments/{number}","contents_url":"https://api.github.com/repos/pkgcloud/pkgcloud/contents/{+path}","compare_url":"https://api.github.com/repos/pkgcloud/pkgcloud/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pkgcloud/pkgcloud/merges","archive_url":"https://api.github.com/repos/pkgcloud/pkgcloud/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pkgcloud/pkgcloud/downloads","issues_url":"https://api.github.com/repos/pkgcloud/pkgcloud/issues{/number}","pulls_url":"https://api.github.com/repos/pkgcloud/pkgcloud/pulls{/number}","milestones_url":"https://api.github.com/repos/pkgcloud/pkgcloud/milestones{/number}","notifications_url":"https://api.github.com/repos/pkgcloud/pkgcloud/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pkgcloud/pkgcloud/labels{/name}","releases_url":"https://api.github.com/repos/pkgcloud/pkgcloud/releases{/id}","created_at":"2011-12-02T13:39:31Z","updated_at":"2014-10-17T17:27:28Z","pushed_at":"2014-10-17T18:04:04Z","git_url":"git://github.com/pkgcloud/pkgcloud.git","ssh_url":"git@github.com:pkgcloud/pkgcloud.git","clone_url":"https://github.com/pkgcloud/pkgcloud.git","svn_url":"https://github.com/pkgcloud/pkgcloud","homepage":"http://github.com/pkgcloud/pkgcloud","size":15861,"stargazers_count":492,"watchers_count":492,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":135,"mirror_url":null,"open_issues_count":64,"forks":135,"open_issues":64,"watchers":492,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pkgcloud/pkgcloud/pulls/339"},"html":{"href":"https://github.com/pkgcloud/pkgcloud/pull/339"},"issue":{"href":"https://api.github.com/repos/pkgcloud/pkgcloud/issues/339"},"comments":{"href":"https://api.github.com/repos/pkgcloud/pkgcloud/issues/339/comments"},"review_comments":{"href":"https://api.github.com/repos/pkgcloud/pkgcloud/pulls/339/comments"},"review_comment":{"href":"https://api.github.com/repos/pkgcloud/pkgcloud/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/pkgcloud/pkgcloud/pulls/339/commits"},"statuses":{"href":"https://api.github.com/repos/pkgcloud/pkgcloud/statuses/90c7d81141346e9cfaf3a81f48169367f2192335"}}}}