{"action":"closed","number":20,"pull_request":{"url":"https://api.github.com/repos/swiperproxy/swiperproxy/pulls/20","id":49781289,"html_url":"https://github.com/swiperproxy/swiperproxy/pull/20","diff_url":"https://github.com/swiperproxy/swiperproxy/pull/20.diff","patch_url":"https://github.com/swiperproxy/swiperproxy/pull/20.patch","issue_url":"https://api.github.com/repos/swiperproxy/swiperproxy/issues/20","number":20,"state":"closed","locked":false,"title":"remove endpoint in path for httplib.HTTPSConnection and referer headers","user":{"login":"rexdf","id":4038241,"avatar_url":"https://avatars.githubusercontent.com/u/4038241?v=3","gravatar_id":"","url":"https://api.github.com/users/rexdf","html_url":"https://github.com/rexdf","followers_url":"https://api.github.com/users/rexdf/followers","following_url":"https://api.github.com/users/rexdf/following{/other_user}","gists_url":"https://api.github.com/users/rexdf/gists{/gist_id}","starred_url":"https://api.github.com/users/rexdf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rexdf/subscriptions","organizations_url":"https://api.github.com/users/rexdf/orgs","repos_url":"https://api.github.com/users/rexdf/repos","events_url":"https://api.github.com/users/rexdf/events{/privacy}","received_events_url":"https://api.github.com/users/rexdf/received_events","type":"User","site_admin":false},"body":"https://github.com/swiperproxy/swiperproxy/blob/develop/Proxy.py#L152-L153\r\n\r\nhttps://github.com/swiperproxy/swiperproxy/blob/develop/Util.py#L28-L45\r\n\r\nfor example, my configure is as following\r\n\r\n```\r\nhttp_endpoint=/\r\nhttps_endpoint=/https/\r\n```\r\n\r\nAfter this patch, it will works.","created_at":"2015-11-05T04:27:52Z","updated_at":"2015-11-12T15:01:44Z","closed_at":"2015-11-12T15:01:44Z","merged_at":"2015-11-12T15:01:44Z","merge_commit_sha":"873016ce1041e45d0e785adfd858b9dab4fcb905","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/swiperproxy/swiperproxy/pulls/20/commits","review_comments_url":"https://api.github.com/repos/swiperproxy/swiperproxy/pulls/20/comments","review_comment_url":"https://api.github.com/repos/swiperproxy/swiperproxy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/swiperproxy/swiperproxy/issues/20/comments","statuses_url":"https://api.github.com/repos/swiperproxy/swiperproxy/statuses/1de3532d39d0c6296c50c7db43a46d8ff4c92e67","head":{"label":"rexdf:develop","ref":"develop","sha":"1de3532d39d0c6296c50c7db43a46d8ff4c92e67","user":{"login":"rexdf","id":4038241,"avatar_url":"https://avatars.githubusercontent.com/u/4038241?v=3","gravatar_id":"","url":"https://api.github.com/users/rexdf","html_url":"https://github.com/rexdf","followers_url":"https://api.github.com/users/rexdf/followers","following_url":"https://api.github.com/users/rexdf/following{/other_user}","gists_url":"https://api.github.com/users/rexdf/gists{/gist_id}","starred_url":"https://api.github.com/users/rexdf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rexdf/subscriptions","organizations_url":"https://api.github.com/users/rexdf/orgs","repos_url":"https://api.github.com/users/rexdf/repos","events_url":"https://api.github.com/users/rexdf/events{/privacy}","received_events_url":"https://api.github.com/users/rexdf/received_events","type":"User","site_admin":false},"repo":{"id":45525191,"name":"swiperproxy","full_name":"rexdf/swiperproxy","owner":{"login":"rexdf","id":4038241,"avatar_url":"https://avatars.githubusercontent.com/u/4038241?v=3","gravatar_id":"","url":"https://api.github.com/users/rexdf","html_url":"https://github.com/rexdf","followers_url":"https://api.github.com/users/rexdf/followers","following_url":"https://api.github.com/users/rexdf/following{/other_user}","gists_url":"https://api.github.com/users/rexdf/gists{/gist_id}","starred_url":"https://api.github.com/users/rexdf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rexdf/subscriptions","organizations_url":"https://api.github.com/users/rexdf/orgs","repos_url":"https://api.github.com/users/rexdf/repos","events_url":"https://api.github.com/users/rexdf/events{/privacy}","received_events_url":"https://api.github.com/users/rexdf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rexdf/swiperproxy","description":"A Python-based HTTP/HTTPS-proxy.","fork":true,"url":"https://api.github.com/repos/rexdf/swiperproxy","forks_url":"https://api.github.com/repos/rexdf/swiperproxy/forks","keys_url":"https://api.github.com/repos/rexdf/swiperproxy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rexdf/swiperproxy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rexdf/swiperproxy/teams","hooks_url":"https://api.github.com/repos/rexdf/swiperproxy/hooks","issue_events_url":"https://api.github.com/repos/rexdf/swiperproxy/issues/events{/number}","events_url":"https://api.github.com/repos/rexdf/swiperproxy/events","assignees_url":"https://api.github.com/repos/rexdf/swiperproxy/assignees{/user}","branches_url":"https://api.github.com/repos/rexdf/swiperproxy/branches{/branch}","tags_url":"https://api.github.com/repos/rexdf/swiperproxy/tags","blobs_url":"https://api.github.com/repos/rexdf/swiperproxy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rexdf/swiperproxy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rexdf/swiperproxy/git/refs{/sha}","trees_url":"https://api.github.com/repos/rexdf/swiperproxy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rexdf/swiperproxy/statuses/{sha}","languages_url":"https://api.github.com/repos/rexdf/swiperproxy/languages","stargazers_url":"https://api.github.com/repos/rexdf/swiperproxy/stargazers","contributors_url":"https://api.github.com/repos/rexdf/swiperproxy/contributors","subscribers_url":"https://api.github.com/repos/rexdf/swiperproxy/subscribers","subscription_url":"https://api.github.com/repos/rexdf/swiperproxy/subscription","commits_url":"https://api.github.com/repos/rexdf/swiperproxy/commits{/sha}","git_commits_url":"https://api.github.com/repos/rexdf/swiperproxy/git/commits{/sha}","comments_url":"https://api.github.com/repos/rexdf/swiperproxy/comments{/number}","issue_comment_url":"https://api.github.com/repos/rexdf/swiperproxy/issues/comments{/number}","contents_url":"https://api.github.com/repos/rexdf/swiperproxy/contents/{+path}","compare_url":"https://api.github.com/repos/rexdf/swiperproxy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rexdf/swiperproxy/merges","archive_url":"https://api.github.com/repos/rexdf/swiperproxy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rexdf/swiperproxy/downloads","issues_url":"https://api.github.com/repos/rexdf/swiperproxy/issues{/number}","pulls_url":"https://api.github.com/repos/rexdf/swiperproxy/pulls{/number}","milestones_url":"https://api.github.com/repos/rexdf/swiperproxy/milestones{/number}","notifications_url":"https://api.github.com/repos/rexdf/swiperproxy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rexdf/swiperproxy/labels{/name}","releases_url":"https://api.github.com/repos/rexdf/swiperproxy/releases{/id}","created_at":"2015-11-04T08:26:41Z","updated_at":"2015-11-04T08:26:43Z","pushed_at":"2015-11-05T04:22:54Z","git_url":"git://github.com/rexdf/swiperproxy.git","ssh_url":"git@github.com:rexdf/swiperproxy.git","clone_url":"https://github.com/rexdf/swiperproxy.git","svn_url":"https://github.com/rexdf/swiperproxy","homepage":"https://swiperproxy.github.io","size":1229,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"swiperproxy:develop","ref":"develop","sha":"2b42f41f6af15dab37c753c53d101a29643adf4f","user":{"login":"swiperproxy","id":10050797,"avatar_url":"https://avatars.githubusercontent.com/u/10050797?v=3","gravatar_id":"","url":"https://api.github.com/users/swiperproxy","html_url":"https://github.com/swiperproxy","followers_url":"https://api.github.com/users/swiperproxy/followers","following_url":"https://api.github.com/users/swiperproxy/following{/other_user}","gists_url":"https://api.github.com/users/swiperproxy/gists{/gist_id}","starred_url":"https://api.github.com/users/swiperproxy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swiperproxy/subscriptions","organizations_url":"https://api.github.com/users/swiperproxy/orgs","repos_url":"https://api.github.com/users/swiperproxy/repos","events_url":"https://api.github.com/users/swiperproxy/events{/privacy}","received_events_url":"https://api.github.com/users/swiperproxy/received_events","type":"Organization","site_admin":false},"repo":{"id":27447808,"name":"swiperproxy","full_name":"swiperproxy/swiperproxy","owner":{"login":"swiperproxy","id":10050797,"avatar_url":"https://avatars.githubusercontent.com/u/10050797?v=3","gravatar_id":"","url":"https://api.github.com/users/swiperproxy","html_url":"https://github.com/swiperproxy","followers_url":"https://api.github.com/users/swiperproxy/followers","following_url":"https://api.github.com/users/swiperproxy/following{/other_user}","gists_url":"https://api.github.com/users/swiperproxy/gists{/gist_id}","starred_url":"https://api.github.com/users/swiperproxy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swiperproxy/subscriptions","organizations_url":"https://api.github.com/users/swiperproxy/orgs","repos_url":"https://api.github.com/users/swiperproxy/repos","events_url":"https://api.github.com/users/swiperproxy/events{/privacy}","received_events_url":"https://api.github.com/users/swiperproxy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/swiperproxy/swiperproxy","description":"A Python-based HTTP/HTTPS-proxy.","fork":false,"url":"https://api.github.com/repos/swiperproxy/swiperproxy","forks_url":"https://api.github.com/repos/swiperproxy/swiperproxy/forks","keys_url":"https://api.github.com/repos/swiperproxy/swiperproxy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/swiperproxy/swiperproxy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/swiperproxy/swiperproxy/teams","hooks_url":"https://api.github.com/repos/swiperproxy/swiperproxy/hooks","issue_events_url":"https://api.github.com/repos/swiperproxy/swiperproxy/issues/events{/number}","events_url":"https://api.github.com/repos/swiperproxy/swiperproxy/events","assignees_url":"https://api.github.com/repos/swiperproxy/swiperproxy/assignees{/user}","branches_url":"https://api.github.com/repos/swiperproxy/swiperproxy/branches{/branch}","tags_url":"https://api.github.com/repos/swiperproxy/swiperproxy/tags","blobs_url":"https://api.github.com/repos/swiperproxy/swiperproxy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/swiperproxy/swiperproxy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/swiperproxy/swiperproxy/git/refs{/sha}","trees_url":"https://api.github.com/repos/swiperproxy/swiperproxy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/swiperproxy/swiperproxy/statuses/{sha}","languages_url":"https://api.github.com/repos/swiperproxy/swiperproxy/languages","stargazers_url":"https://api.github.com/repos/swiperproxy/swiperproxy/stargazers","contributors_url":"https://api.github.com/repos/swiperproxy/swiperproxy/contributors","subscribers_url":"https://api.github.com/repos/swiperproxy/swiperproxy/subscribers","subscription_url":"https://api.github.com/repos/swiperproxy/swiperproxy/subscription","commits_url":"https://api.github.com/repos/swiperproxy/swiperproxy/commits{/sha}","git_commits_url":"https://api.github.com/repos/swiperproxy/swiperproxy/git/commits{/sha}","comments_url":"https://api.github.com/repos/swiperproxy/swiperproxy/comments{/number}","issue_comment_url":"https://api.github.com/repos/swiperproxy/swiperproxy/issues/comments{/number}","contents_url":"https://api.github.com/repos/swiperproxy/swiperproxy/contents/{+path}","compare_url":"https://api.github.com/repos/swiperproxy/swiperproxy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/swiperproxy/swiperproxy/merges","archive_url":"https://api.github.com/repos/swiperproxy/swiperproxy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/swiperproxy/swiperproxy/downloads","issues_url":"https://api.github.com/repos/swiperproxy/swiperproxy/issues{/number}","pulls_url":"https://api.github.com/repos/swiperproxy/swiperproxy/pulls{/number}","milestones_url":"https://api.github.com/repos/swiperproxy/swiperproxy/milestones{/number}","notifications_url":"https://api.github.com/repos/swiperproxy/swiperproxy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/swiperproxy/swiperproxy/labels{/name}","releases_url":"https://api.github.com/repos/swiperproxy/swiperproxy/releases{/id}","created_at":"2014-12-02T18:49:57Z","updated_at":"2015-11-09T03:09:30Z","pushed_at":"2015-11-12T15:01:45Z","git_url":"git://github.com/swiperproxy/swiperproxy.git","ssh_url":"git@github.com:swiperproxy/swiperproxy.git","clone_url":"https://github.com/swiperproxy/swiperproxy.git","svn_url":"https://github.com/swiperproxy/swiperproxy","homepage":"https://swiperproxy.github.io","size":1630,"stargazers_count":214,"watchers_count":214,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":1,"forks":8,"open_issues":1,"watchers":214,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/swiperproxy/swiperproxy/pulls/20"},"html":{"href":"https://github.com/swiperproxy/swiperproxy/pull/20"},"issue":{"href":"https://api.github.com/repos/swiperproxy/swiperproxy/issues/20"},"comments":{"href":"https://api.github.com/repos/swiperproxy/swiperproxy/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/swiperproxy/swiperproxy/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/swiperproxy/swiperproxy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/swiperproxy/swiperproxy/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/swiperproxy/swiperproxy/statuses/1de3532d39d0c6296c50c7db43a46d8ff4c92e67"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"Argure","id":1835085,"avatar_url":"https://avatars.githubusercontent.com/u/1835085?v=3","gravatar_id":"","url":"https://api.github.com/users/Argure","html_url":"https://github.com/Argure","followers_url":"https://api.github.com/users/Argure/followers","following_url":"https://api.github.com/users/Argure/following{/other_user}","gists_url":"https://api.github.com/users/Argure/gists{/gist_id}","starred_url":"https://api.github.com/users/Argure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Argure/subscriptions","organizations_url":"https://api.github.com/users/Argure/orgs","repos_url":"https://api.github.com/users/Argure/repos","events_url":"https://api.github.com/users/Argure/events{/privacy}","received_events_url":"https://api.github.com/users/Argure/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":14,"deletions":0,"changed_files":2}}