{"action":"created","comment":{"url":"https://api.github.com/repos/gravitational/roundtrip/pulls/comments/71975219","id":71975219,"diff_hunk":"@@ -0,0 +1,192 @@\n+package roundtrip\n+\n+import (\n+\t\"fmt\"\n+\t\"io\"\n+\t\"io/ioutil\"\n+\t\"net/http\"\n+\t\"os\"\n+\t\"strconv\"\n+\n+\t\"github.com/gravitational/trace\"\n+)\n+\n+const (\n+\tstateOK = iota\n+\tstateEOF\n+\tstateError\n+\tstateClosed\n+)\n+\n+// Seeker is a file download object\n+// that supports io.ReadSeeker interface","path":"seeker.go","position":22,"original_position":22,"commit_id":"fcee6fa94ea1b9225c614fe73d5c69b05e51a5e1","original_commit_id":"fcee6fa94ea1b9225c614fe73d5c69b05e51a5e1","user":{"login":"a-palchikov","id":965809,"avatar_url":"https://avatars.githubusercontent.com/u/965809?v=3","gravatar_id":"","url":"https://api.github.com/users/a-palchikov","html_url":"https://github.com/a-palchikov","followers_url":"https://api.github.com/users/a-palchikov/followers","following_url":"https://api.github.com/users/a-palchikov/following{/other_user}","gists_url":"https://api.github.com/users/a-palchikov/gists{/gist_id}","starred_url":"https://api.github.com/users/a-palchikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a-palchikov/subscriptions","organizations_url":"https://api.github.com/users/a-palchikov/orgs","repos_url":"https://api.github.com/users/a-palchikov/repos","events_url":"https://api.github.com/users/a-palchikov/events{/privacy}","received_events_url":"https://api.github.com/users/a-palchikov/received_events","type":"User","site_admin":false},"body":"s/supports/implements?","created_at":"2016-07-23T17:15:33Z","updated_at":"2016-07-23T17:15:33Z","html_url":"https://github.com/gravitational/roundtrip/pull/10#discussion_r71975219","pull_request_url":"https://api.github.com/repos/gravitational/roundtrip/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/gravitational/roundtrip/pulls/comments/71975219"},"html":{"href":"https://github.com/gravitational/roundtrip/pull/10#discussion_r71975219"},"pull_request":{"href":"https://api.github.com/repos/gravitational/roundtrip/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/gravitational/roundtrip/pulls/10","id":78562580,"html_url":"https://github.com/gravitational/roundtrip/pull/10","diff_url":"https://github.com/gravitational/roundtrip/pull/10.diff","patch_url":"https://github.com/gravitational/roundtrip/pull/10.patch","issue_url":"https://api.github.com/repos/gravitational/roundtrip/issues/10","number":10,"state":"open","locked":false,"title":"Sasha/seeker","user":{"login":"klizhentas","id":13717,"avatar_url":"https://avatars.githubusercontent.com/u/13717?v=3","gravatar_id":"","url":"https://api.github.com/users/klizhentas","html_url":"https://github.com/klizhentas","followers_url":"https://api.github.com/users/klizhentas/followers","following_url":"https://api.github.com/users/klizhentas/following{/other_user}","gists_url":"https://api.github.com/users/klizhentas/gists{/gist_id}","starred_url":"https://api.github.com/users/klizhentas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klizhentas/subscriptions","organizations_url":"https://api.github.com/users/klizhentas/orgs","repos_url":"https://api.github.com/users/klizhentas/repos","events_url":"https://api.github.com/users/klizhentas/events{/privacy}","received_events_url":"https://api.github.com/users/klizhentas/received_events","type":"User","site_admin":false},"body":"Add support for `Range`-powered file downloads via HTTP","created_at":"2016-07-23T04:07:14Z","updated_at":"2016-07-23T17:15:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"453025efbb884b6a8846a791ca6a75f95976763f","assignee":{"login":"a-palchikov","id":965809,"avatar_url":"https://avatars.githubusercontent.com/u/965809?v=3","gravatar_id":"","url":"https://api.github.com/users/a-palchikov","html_url":"https://github.com/a-palchikov","followers_url":"https://api.github.com/users/a-palchikov/followers","following_url":"https://api.github.com/users/a-palchikov/following{/other_user}","gists_url":"https://api.github.com/users/a-palchikov/gists{/gist_id}","starred_url":"https://api.github.com/users/a-palchikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a-palchikov/subscriptions","organizations_url":"https://api.github.com/users/a-palchikov/orgs","repos_url":"https://api.github.com/users/a-palchikov/repos","events_url":"https://api.github.com/users/a-palchikov/events{/privacy}","received_events_url":"https://api.github.com/users/a-palchikov/received_events","type":"User","site_admin":false},"assignees":[{"login":"a-palchikov","id":965809,"avatar_url":"https://avatars.githubusercontent.com/u/965809?v=3","gravatar_id":"","url":"https://api.github.com/users/a-palchikov","html_url":"https://github.com/a-palchikov","followers_url":"https://api.github.com/users/a-palchikov/followers","following_url":"https://api.github.com/users/a-palchikov/following{/other_user}","gists_url":"https://api.github.com/users/a-palchikov/gists{/gist_id}","starred_url":"https://api.github.com/users/a-palchikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a-palchikov/subscriptions","organizations_url":"https://api.github.com/users/a-palchikov/orgs","repos_url":"https://api.github.com/users/a-palchikov/repos","events_url":"https://api.github.com/users/a-palchikov/events{/privacy}","received_events_url":"https://api.github.com/users/a-palchikov/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/gravitational/roundtrip/pulls/10/commits","review_comments_url":"https://api.github.com/repos/gravitational/roundtrip/pulls/10/comments","review_comment_url":"https://api.github.com/repos/gravitational/roundtrip/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gravitational/roundtrip/issues/10/comments","statuses_url":"https://api.github.com/repos/gravitational/roundtrip/statuses/fcee6fa94ea1b9225c614fe73d5c69b05e51a5e1","head":{"label":"gravitational:sasha/seeker","ref":"sasha/seeker","sha":"fcee6fa94ea1b9225c614fe73d5c69b05e51a5e1","user":{"login":"gravitational","id":10781132,"avatar_url":"https://avatars.githubusercontent.com/u/10781132?v=3","gravatar_id":"","url":"https://api.github.com/users/gravitational","html_url":"https://github.com/gravitational","followers_url":"https://api.github.com/users/gravitational/followers","following_url":"https://api.github.com/users/gravitational/following{/other_user}","gists_url":"https://api.github.com/users/gravitational/gists{/gist_id}","starred_url":"https://api.github.com/users/gravitational/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gravitational/subscriptions","organizations_url":"https://api.github.com/users/gravitational/orgs","repos_url":"https://api.github.com/users/gravitational/repos","events_url":"https://api.github.com/users/gravitational/events{/privacy}","received_events_url":"https://api.github.com/users/gravitational/received_events","type":"Organization","site_admin":false},"repo":{"id":32290029,"name":"roundtrip","full_name":"gravitational/roundtrip","owner":{"login":"gravitational","id":10781132,"avatar_url":"https://avatars.githubusercontent.com/u/10781132?v=3","gravatar_id":"","url":"https://api.github.com/users/gravitational","html_url":"https://github.com/gravitational","followers_url":"https://api.github.com/users/gravitational/followers","following_url":"https://api.github.com/users/gravitational/following{/other_user}","gists_url":"https://api.github.com/users/gravitational/gists{/gist_id}","starred_url":"https://api.github.com/users/gravitational/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gravitational/subscriptions","organizations_url":"https://api.github.com/users/gravitational/orgs","repos_url":"https://api.github.com/users/gravitational/repos","events_url":"https://api.github.com/users/gravitational/events{/privacy}","received_events_url":"https://api.github.com/users/gravitational/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gravitational/roundtrip","description":"Library for HTTP request/response workflow","fork":false,"url":"https://api.github.com/repos/gravitational/roundtrip","forks_url":"https://api.github.com/repos/gravitational/roundtrip/forks","keys_url":"https://api.github.com/repos/gravitational/roundtrip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gravitational/roundtrip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gravitational/roundtrip/teams","hooks_url":"https://api.github.com/repos/gravitational/roundtrip/hooks","issue_events_url":"https://api.github.com/repos/gravitational/roundtrip/issues/events{/number}","events_url":"https://api.github.com/repos/gravitational/roundtrip/events","assignees_url":"https://api.github.com/repos/gravitational/roundtrip/assignees{/user}","branches_url":"https://api.github.com/repos/gravitational/roundtrip/branches{/branch}","tags_url":"https://api.github.com/repos/gravitational/roundtrip/tags","blobs_url":"https://api.github.com/repos/gravitational/roundtrip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gravitational/roundtrip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gravitational/roundtrip/git/refs{/sha}","trees_url":"https://api.github.com/repos/gravitational/roundtrip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gravitational/roundtrip/statuses/{sha}","languages_url":"https://api.github.com/repos/gravitational/roundtrip/languages","stargazers_url":"https://api.github.com/repos/gravitational/roundtrip/stargazers","contributors_url":"https://api.github.com/repos/gravitational/roundtrip/contributors","subscribers_url":"https://api.github.com/repos/gravitational/roundtrip/subscribers","subscription_url":"https://api.github.com/repos/gravitational/roundtrip/subscription","commits_url":"https://api.github.com/repos/gravitational/roundtrip/commits{/sha}","git_commits_url":"https://api.github.com/repos/gravitational/roundtrip/git/commits{/sha}","comments_url":"https://api.github.com/repos/gravitational/roundtrip/comments{/number}","issue_comment_url":"https://api.github.com/repos/gravitational/roundtrip/issues/comments{/number}","contents_url":"https://api.github.com/repos/gravitational/roundtrip/contents/{+path}","compare_url":"https://api.github.com/repos/gravitational/roundtrip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gravitational/roundtrip/merges","archive_url":"https://api.github.com/repos/gravitational/roundtrip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gravitational/roundtrip/downloads","issues_url":"https://api.github.com/repos/gravitational/roundtrip/issues{/number}","pulls_url":"https://api.github.com/repos/gravitational/roundtrip/pulls{/number}","milestones_url":"https://api.github.com/repos/gravitational/roundtrip/milestones{/number}","notifications_url":"https://api.github.com/repos/gravitational/roundtrip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gravitational/roundtrip/labels{/name}","releases_url":"https://api.github.com/repos/gravitational/roundtrip/releases{/id}","deployments_url":"https://api.github.com/repos/gravitational/roundtrip/deployments","created_at":"2015-03-15T23:28:59Z","updated_at":"2016-02-20T12:06:19Z","pushed_at":"2016-07-23T04:07:14Z","git_url":"git://github.com/gravitational/roundtrip.git","ssh_url":"git@github.com:gravitational/roundtrip.git","clone_url":"https://github.com/gravitational/roundtrip.git","svn_url":"https://github.com/gravitational/roundtrip","homepage":null,"size":26,"stargazers_count":5,"watchers_count":5,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":5,"default_branch":"master"}},"base":{"label":"gravitational:master","ref":"master","sha":"dbcdb0f685299e721c13963bdd5d6233870c5cd6","user":{"login":"gravitational","id":10781132,"avatar_url":"https://avatars.githubusercontent.com/u/10781132?v=3","gravatar_id":"","url":"https://api.github.com/users/gravitational","html_url":"https://github.com/gravitational","followers_url":"https://api.github.com/users/gravitational/followers","following_url":"https://api.github.com/users/gravitational/following{/other_user}","gists_url":"https://api.github.com/users/gravitational/gists{/gist_id}","starred_url":"https://api.github.com/users/gravitational/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gravitational/subscriptions","organizations_url":"https://api.github.com/users/gravitational/orgs","repos_url":"https://api.github.com/users/gravitational/repos","events_url":"https://api.github.com/users/gravitational/events{/privacy}","received_events_url":"https://api.github.com/users/gravitational/received_events","type":"Organization","site_admin":false},"repo":{"id":32290029,"name":"roundtrip","full_name":"gravitational/roundtrip","owner":{"login":"gravitational","id":10781132,"avatar_url":"https://avatars.githubusercontent.com/u/10781132?v=3","gravatar_id":"","url":"https://api.github.com/users/gravitational","html_url":"https://github.com/gravitational","followers_url":"https://api.github.com/users/gravitational/followers","following_url":"https://api.github.com/users/gravitational/following{/other_user}","gists_url":"https://api.github.com/users/gravitational/gists{/gist_id}","starred_url":"https://api.github.com/users/gravitational/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gravitational/subscriptions","organizations_url":"https://api.github.com/users/gravitational/orgs","repos_url":"https://api.github.com/users/gravitational/repos","events_url":"https://api.github.com/users/gravitational/events{/privacy}","received_events_url":"https://api.github.com/users/gravitational/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gravitational/roundtrip","description":"Library for HTTP request/response workflow","fork":false,"url":"https://api.github.com/repos/gravitational/roundtrip","forks_url":"https://api.github.com/repos/gravitational/roundtrip/forks","keys_url":"https://api.github.com/repos/gravitational/roundtrip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gravitational/roundtrip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gravitational/roundtrip/teams","hooks_url":"https://api.github.com/repos/gravitational/roundtrip/hooks","issue_events_url":"https://api.github.com/repos/gravitational/roundtrip/issues/events{/number}","events_url":"https://api.github.com/repos/gravitational/roundtrip/events","assignees_url":"https://api.github.com/repos/gravitational/roundtrip/assignees{/user}","branches_url":"https://api.github.com/repos/gravitational/roundtrip/branches{/branch}","tags_url":"https://api.github.com/repos/gravitational/roundtrip/tags","blobs_url":"https://api.github.com/repos/gravitational/roundtrip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gravitational/roundtrip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gravitational/roundtrip/git/refs{/sha}","trees_url":"https://api.github.com/repos/gravitational/roundtrip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gravitational/roundtrip/statuses/{sha}","languages_url":"https://api.github.com/repos/gravitational/roundtrip/languages","stargazers_url":"https://api.github.com/repos/gravitational/roundtrip/stargazers","contributors_url":"https://api.github.com/repos/gravitational/roundtrip/contributors","subscribers_url":"https://api.github.com/repos/gravitational/roundtrip/subscribers","subscription_url":"https://api.github.com/repos/gravitational/roundtrip/subscription","commits_url":"https://api.github.com/repos/gravitational/roundtrip/commits{/sha}","git_commits_url":"https://api.github.com/repos/gravitational/roundtrip/git/commits{/sha}","comments_url":"https://api.github.com/repos/gravitational/roundtrip/comments{/number}","issue_comment_url":"https://api.github.com/repos/gravitational/roundtrip/issues/comments{/number}","contents_url":"https://api.github.com/repos/gravitational/roundtrip/contents/{+path}","compare_url":"https://api.github.com/repos/gravitational/roundtrip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gravitational/roundtrip/merges","archive_url":"https://api.github.com/repos/gravitational/roundtrip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gravitational/roundtrip/downloads","issues_url":"https://api.github.com/repos/gravitational/roundtrip/issues{/number}","pulls_url":"https://api.github.com/repos/gravitational/roundtrip/pulls{/number}","milestones_url":"https://api.github.com/repos/gravitational/roundtrip/milestones{/number}","notifications_url":"https://api.github.com/repos/gravitational/roundtrip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gravitational/roundtrip/labels{/name}","releases_url":"https://api.github.com/repos/gravitational/roundtrip/releases{/id}","deployments_url":"https://api.github.com/repos/gravitational/roundtrip/deployments","created_at":"2015-03-15T23:28:59Z","updated_at":"2016-02-20T12:06:19Z","pushed_at":"2016-07-23T04:07:14Z","git_url":"git://github.com/gravitational/roundtrip.git","ssh_url":"git@github.com:gravitational/roundtrip.git","clone_url":"https://github.com/gravitational/roundtrip.git","svn_url":"https://github.com/gravitational/roundtrip","homepage":null,"size":26,"stargazers_count":5,"watchers_count":5,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gravitational/roundtrip/pulls/10"},"html":{"href":"https://github.com/gravitational/roundtrip/pull/10"},"issue":{"href":"https://api.github.com/repos/gravitational/roundtrip/issues/10"},"comments":{"href":"https://api.github.com/repos/gravitational/roundtrip/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/gravitational/roundtrip/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/gravitational/roundtrip/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gravitational/roundtrip/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/gravitational/roundtrip/statuses/fcee6fa94ea1b9225c614fe73d5c69b05e51a5e1"}}}}
{"actor":{"display_login":"a-palchikov"}}