{"action":"opened","number":17,"pull_request":{"url":"https://api.github.com/repos/segmentio/superagent-retry/pulls/17","id":59842103,"html_url":"https://github.com/segmentio/superagent-retry/pull/17","diff_url":"https://github.com/segmentio/superagent-retry/pull/17.diff","patch_url":"https://github.com/segmentio/superagent-retry/pull/17.patch","issue_url":"https://api.github.com/repos/segmentio/superagent-retry/issues/17","number":17,"state":"open","locked":false,"title":"Fix query duplication","user":{"login":"ajacksified","id":175515,"avatar_url":"https://avatars.githubusercontent.com/u/175515?v=3","gravatar_id":"","url":"https://api.github.com/users/ajacksified","html_url":"https://github.com/ajacksified","followers_url":"https://api.github.com/users/ajacksified/followers","following_url":"https://api.github.com/users/ajacksified/following{/other_user}","gists_url":"https://api.github.com/users/ajacksified/gists{/gist_id}","starred_url":"https://api.github.com/users/ajacksified/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajacksified/subscriptions","organizations_url":"https://api.github.com/users/ajacksified/orgs","repos_url":"https://api.github.com/users/ajacksified/repos","events_url":"https://api.github.com/users/ajacksified/events{/privacy}","received_events_url":"https://api.github.com/users/ajacksified/received_events","type":"User","site_admin":false},"body":"Hey there; I've got a pair of fixes:\r\n\r\n* When requests with querystrings were retried, the path would amend the querystring every time the request was made\r\n* Timeouts weren't being cleared properly due to `requests.req` not existing (maybe that's a thing only on newer superagents? I'm on 1.3.0)\r\n\r\nI'm happy to split this into two separate PRs as well.\r\n\r\nThanks!","created_at":"2016-02-18T18:28:39Z","updated_at":"2016-02-18T18:28:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7c654b906a3d70420ead5235b41e50cabafa352f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/segmentio/superagent-retry/pulls/17/commits","review_comments_url":"https://api.github.com/repos/segmentio/superagent-retry/pulls/17/comments","review_comment_url":"https://api.github.com/repos/segmentio/superagent-retry/pulls/comments{/number}","comments_url":"https://api.github.com/repos/segmentio/superagent-retry/issues/17/comments","statuses_url":"https://api.github.com/repos/segmentio/superagent-retry/statuses/d39d7adbcd021d8ed09df440dba970c91fed9cd4","head":{"label":"ajacksified:fix-query-duplication","ref":"fix-query-duplication","sha":"d39d7adbcd021d8ed09df440dba970c91fed9cd4","user":{"login":"ajacksified","id":175515,"avatar_url":"https://avatars.githubusercontent.com/u/175515?v=3","gravatar_id":"","url":"https://api.github.com/users/ajacksified","html_url":"https://github.com/ajacksified","followers_url":"https://api.github.com/users/ajacksified/followers","following_url":"https://api.github.com/users/ajacksified/following{/other_user}","gists_url":"https://api.github.com/users/ajacksified/gists{/gist_id}","starred_url":"https://api.github.com/users/ajacksified/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajacksified/subscriptions","organizations_url":"https://api.github.com/users/ajacksified/orgs","repos_url":"https://api.github.com/users/ajacksified/repos","events_url":"https://api.github.com/users/ajacksified/events{/privacy}","received_events_url":"https://api.github.com/users/ajacksified/received_events","type":"User","site_admin":false},"repo":{"id":45418944,"name":"superagent-retry","full_name":"ajacksified/superagent-retry","owner":{"login":"ajacksified","id":175515,"avatar_url":"https://avatars.githubusercontent.com/u/175515?v=3","gravatar_id":"","url":"https://api.github.com/users/ajacksified","html_url":"https://github.com/ajacksified","followers_url":"https://api.github.com/users/ajacksified/followers","following_url":"https://api.github.com/users/ajacksified/following{/other_user}","gists_url":"https://api.github.com/users/ajacksified/gists{/gist_id}","starred_url":"https://api.github.com/users/ajacksified/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajacksified/subscriptions","organizations_url":"https://api.github.com/users/ajacksified/orgs","repos_url":"https://api.github.com/users/ajacksified/repos","events_url":"https://api.github.com/users/ajacksified/events{/privacy}","received_events_url":"https://api.github.com/users/ajacksified/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ajacksified/superagent-retry","description":"Retry superagent requests for common hangups","fork":true,"url":"https://api.github.com/repos/ajacksified/superagent-retry","forks_url":"https://api.github.com/repos/ajacksified/superagent-retry/forks","keys_url":"https://api.github.com/repos/ajacksified/superagent-retry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ajacksified/superagent-retry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ajacksified/superagent-retry/teams","hooks_url":"https://api.github.com/repos/ajacksified/superagent-retry/hooks","issue_events_url":"https://api.github.com/repos/ajacksified/superagent-retry/issues/events{/number}","events_url":"https://api.github.com/repos/ajacksified/superagent-retry/events","assignees_url":"https://api.github.com/repos/ajacksified/superagent-retry/assignees{/user}","branches_url":"https://api.github.com/repos/ajacksified/superagent-retry/branches{/branch}","tags_url":"https://api.github.com/repos/ajacksified/superagent-retry/tags","blobs_url":"https://api.github.com/repos/ajacksified/superagent-retry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ajacksified/superagent-retry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ajacksified/superagent-retry/git/refs{/sha}","trees_url":"https://api.github.com/repos/ajacksified/superagent-retry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ajacksified/superagent-retry/statuses/{sha}","languages_url":"https://api.github.com/repos/ajacksified/superagent-retry/languages","stargazers_url":"https://api.github.com/repos/ajacksified/superagent-retry/stargazers","contributors_url":"https://api.github.com/repos/ajacksified/superagent-retry/contributors","subscribers_url":"https://api.github.com/repos/ajacksified/superagent-retry/subscribers","subscription_url":"https://api.github.com/repos/ajacksified/superagent-retry/subscription","commits_url":"https://api.github.com/repos/ajacksified/superagent-retry/commits{/sha}","git_commits_url":"https://api.github.com/repos/ajacksified/superagent-retry/git/commits{/sha}","comments_url":"https://api.github.com/repos/ajacksified/superagent-retry/comments{/number}","issue_comment_url":"https://api.github.com/repos/ajacksified/superagent-retry/issues/comments{/number}","contents_url":"https://api.github.com/repos/ajacksified/superagent-retry/contents/{+path}","compare_url":"https://api.github.com/repos/ajacksified/superagent-retry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ajacksified/superagent-retry/merges","archive_url":"https://api.github.com/repos/ajacksified/superagent-retry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ajacksified/superagent-retry/downloads","issues_url":"https://api.github.com/repos/ajacksified/superagent-retry/issues{/number}","pulls_url":"https://api.github.com/repos/ajacksified/superagent-retry/pulls{/number}","milestones_url":"https://api.github.com/repos/ajacksified/superagent-retry/milestones{/number}","notifications_url":"https://api.github.com/repos/ajacksified/superagent-retry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ajacksified/superagent-retry/labels{/name}","releases_url":"https://api.github.com/repos/ajacksified/superagent-retry/releases{/id}","deployments_url":"https://api.github.com/repos/ajacksified/superagent-retry/deployments","created_at":"2015-11-02T20:06:16Z","updated_at":"2015-11-02T20:06:17Z","pushed_at":"2016-02-18T18:27:01Z","git_url":"git://github.com/ajacksified/superagent-retry.git","ssh_url":"git@github.com:ajacksified/superagent-retry.git","clone_url":"https://github.com/ajacksified/superagent-retry.git","svn_url":"https://github.com/ajacksified/superagent-retry","homepage":null,"size":16,"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":"segmentio:master","ref":"master","sha":"c5d9ab5248193ca6f68f66dbae4469ef539d94c8","user":{"login":"segmentio","id":819518,"avatar_url":"https://avatars.githubusercontent.com/u/819518?v=3","gravatar_id":"","url":"https://api.github.com/users/segmentio","html_url":"https://github.com/segmentio","followers_url":"https://api.github.com/users/segmentio/followers","following_url":"https://api.github.com/users/segmentio/following{/other_user}","gists_url":"https://api.github.com/users/segmentio/gists{/gist_id}","starred_url":"https://api.github.com/users/segmentio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/segmentio/subscriptions","organizations_url":"https://api.github.com/users/segmentio/orgs","repos_url":"https://api.github.com/users/segmentio/repos","events_url":"https://api.github.com/users/segmentio/events{/privacy}","received_events_url":"https://api.github.com/users/segmentio/received_events","type":"Organization","site_admin":false},"repo":{"id":12578494,"name":"superagent-retry","full_name":"segmentio/superagent-retry","owner":{"login":"segmentio","id":819518,"avatar_url":"https://avatars.githubusercontent.com/u/819518?v=3","gravatar_id":"","url":"https://api.github.com/users/segmentio","html_url":"https://github.com/segmentio","followers_url":"https://api.github.com/users/segmentio/followers","following_url":"https://api.github.com/users/segmentio/following{/other_user}","gists_url":"https://api.github.com/users/segmentio/gists{/gist_id}","starred_url":"https://api.github.com/users/segmentio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/segmentio/subscriptions","organizations_url":"https://api.github.com/users/segmentio/orgs","repos_url":"https://api.github.com/users/segmentio/repos","events_url":"https://api.github.com/users/segmentio/events{/privacy}","received_events_url":"https://api.github.com/users/segmentio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/segmentio/superagent-retry","description":"Retry superagent requests for common hangups","fork":false,"url":"https://api.github.com/repos/segmentio/superagent-retry","forks_url":"https://api.github.com/repos/segmentio/superagent-retry/forks","keys_url":"https://api.github.com/repos/segmentio/superagent-retry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/segmentio/superagent-retry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/segmentio/superagent-retry/teams","hooks_url":"https://api.github.com/repos/segmentio/superagent-retry/hooks","issue_events_url":"https://api.github.com/repos/segmentio/superagent-retry/issues/events{/number}","events_url":"https://api.github.com/repos/segmentio/superagent-retry/events","assignees_url":"https://api.github.com/repos/segmentio/superagent-retry/assignees{/user}","branches_url":"https://api.github.com/repos/segmentio/superagent-retry/branches{/branch}","tags_url":"https://api.github.com/repos/segmentio/superagent-retry/tags","blobs_url":"https://api.github.com/repos/segmentio/superagent-retry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/segmentio/superagent-retry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/segmentio/superagent-retry/git/refs{/sha}","trees_url":"https://api.github.com/repos/segmentio/superagent-retry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/segmentio/superagent-retry/statuses/{sha}","languages_url":"https://api.github.com/repos/segmentio/superagent-retry/languages","stargazers_url":"https://api.github.com/repos/segmentio/superagent-retry/stargazers","contributors_url":"https://api.github.com/repos/segmentio/superagent-retry/contributors","subscribers_url":"https://api.github.com/repos/segmentio/superagent-retry/subscribers","subscription_url":"https://api.github.com/repos/segmentio/superagent-retry/subscription","commits_url":"https://api.github.com/repos/segmentio/superagent-retry/commits{/sha}","git_commits_url":"https://api.github.com/repos/segmentio/superagent-retry/git/commits{/sha}","comments_url":"https://api.github.com/repos/segmentio/superagent-retry/comments{/number}","issue_comment_url":"https://api.github.com/repos/segmentio/superagent-retry/issues/comments{/number}","contents_url":"https://api.github.com/repos/segmentio/superagent-retry/contents/{+path}","compare_url":"https://api.github.com/repos/segmentio/superagent-retry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/segmentio/superagent-retry/merges","archive_url":"https://api.github.com/repos/segmentio/superagent-retry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/segmentio/superagent-retry/downloads","issues_url":"https://api.github.com/repos/segmentio/superagent-retry/issues{/number}","pulls_url":"https://api.github.com/repos/segmentio/superagent-retry/pulls{/number}","milestones_url":"https://api.github.com/repos/segmentio/superagent-retry/milestones{/number}","notifications_url":"https://api.github.com/repos/segmentio/superagent-retry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/segmentio/superagent-retry/labels{/name}","releases_url":"https://api.github.com/repos/segmentio/superagent-retry/releases{/id}","deployments_url":"https://api.github.com/repos/segmentio/superagent-retry/deployments","created_at":"2013-09-04T00:53:34Z","updated_at":"2016-01-11T03:39:36Z","pushed_at":"2016-02-18T18:28:39Z","git_url":"git://github.com/segmentio/superagent-retry.git","ssh_url":"git@github.com:segmentio/superagent-retry.git","clone_url":"https://github.com/segmentio/superagent-retry.git","svn_url":"https://github.com/segmentio/superagent-retry","homepage":null,"size":18,"stargazers_count":49,"watchers_count":49,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":6,"forks":17,"open_issues":6,"watchers":49,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/segmentio/superagent-retry/pulls/17"},"html":{"href":"https://github.com/segmentio/superagent-retry/pull/17"},"issue":{"href":"https://api.github.com/repos/segmentio/superagent-retry/issues/17"},"comments":{"href":"https://api.github.com/repos/segmentio/superagent-retry/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/segmentio/superagent-retry/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/segmentio/superagent-retry/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/segmentio/superagent-retry/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/segmentio/superagent-retry/statuses/d39d7adbcd021d8ed09df440dba970c91fed9cd4"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":22,"deletions":16,"changed_files":1}}