{"action":"opened","number":11,"pull_request":{"url":"https://api.github.com/repos/Lukasa/requests-ftp/pulls/11","id":32530752,"html_url":"https://github.com/Lukasa/requests-ftp/pull/11","diff_url":"https://github.com/Lukasa/requests-ftp/pull/11.diff","patch_url":"https://github.com/Lukasa/requests-ftp/pull/11.patch","issue_url":"https://api.github.com/repos/Lukasa/requests-ftp/issues/11","number":11,"state":"open","locked":false,"title":"Add tests and assorted fixes and improvements","user":{"login":"dashea","id":4419868,"avatar_url":"https://avatars.githubusercontent.com/u/4419868?v=3","gravatar_id":"","url":"https://api.github.com/users/dashea","html_url":"https://github.com/dashea","followers_url":"https://api.github.com/users/dashea/followers","following_url":"https://api.github.com/users/dashea/following{/other_user}","gists_url":"https://api.github.com/users/dashea/gists{/gist_id}","starred_url":"https://api.github.com/users/dashea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dashea/subscriptions","organizations_url":"https://api.github.com/users/dashea/orgs","repos_url":"https://api.github.com/users/dashea/repos","events_url":"https://api.github.com/users/dashea/events{/privacy}","received_events_url":"https://api.github.com/users/dashea/received_events","type":"User","site_admin":false},"body":"These patches, in brief, do the following:\r\n\r\n- Add a test suite (RETR and SIZE only, I didn't do anything with STOR or other commands)\r\n- Some changes to make the FTP adapter behave more like the HTTP-based adapters, so a ftp-ized requests Session can switch between http and ftp URLs more transparently\r\n- Add proxy support, because that's a thing somehow? If you do curl --proxy *proxy* ftp://... it'll do it as an http request, so this change just passes the request to HTTPAdapter\r\n- miscellaneous minor bug fixes","created_at":"2015-04-02T17:08:55Z","updated_at":"2015-04-02T17:08:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Lukasa/requests-ftp/pulls/11/commits","review_comments_url":"https://api.github.com/repos/Lukasa/requests-ftp/pulls/11/comments","review_comment_url":"https://api.github.com/repos/Lukasa/requests-ftp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Lukasa/requests-ftp/issues/11/comments","statuses_url":"https://api.github.com/repos/Lukasa/requests-ftp/statuses/0bc24e1e94335b586afd3b68d750cf500c5575e8","head":{"label":"dashea:tests","ref":"tests","sha":"0bc24e1e94335b586afd3b68d750cf500c5575e8","user":{"login":"dashea","id":4419868,"avatar_url":"https://avatars.githubusercontent.com/u/4419868?v=3","gravatar_id":"","url":"https://api.github.com/users/dashea","html_url":"https://github.com/dashea","followers_url":"https://api.github.com/users/dashea/followers","following_url":"https://api.github.com/users/dashea/following{/other_user}","gists_url":"https://api.github.com/users/dashea/gists{/gist_id}","starred_url":"https://api.github.com/users/dashea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dashea/subscriptions","organizations_url":"https://api.github.com/users/dashea/orgs","repos_url":"https://api.github.com/users/dashea/repos","events_url":"https://api.github.com/users/dashea/events{/privacy}","received_events_url":"https://api.github.com/users/dashea/received_events","type":"User","site_admin":false},"repo":{"id":33320695,"name":"requests-ftp","full_name":"dashea/requests-ftp","owner":{"login":"dashea","id":4419868,"avatar_url":"https://avatars.githubusercontent.com/u/4419868?v=3","gravatar_id":"","url":"https://api.github.com/users/dashea","html_url":"https://github.com/dashea","followers_url":"https://api.github.com/users/dashea/followers","following_url":"https://api.github.com/users/dashea/following{/other_user}","gists_url":"https://api.github.com/users/dashea/gists{/gist_id}","starred_url":"https://api.github.com/users/dashea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dashea/subscriptions","organizations_url":"https://api.github.com/users/dashea/orgs","repos_url":"https://api.github.com/users/dashea/repos","events_url":"https://api.github.com/users/dashea/events{/privacy}","received_events_url":"https://api.github.com/users/dashea/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dashea/requests-ftp","description":"An FTP transport adapter for use with the Python Requests library.","fork":true,"url":"https://api.github.com/repos/dashea/requests-ftp","forks_url":"https://api.github.com/repos/dashea/requests-ftp/forks","keys_url":"https://api.github.com/repos/dashea/requests-ftp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dashea/requests-ftp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dashea/requests-ftp/teams","hooks_url":"https://api.github.com/repos/dashea/requests-ftp/hooks","issue_events_url":"https://api.github.com/repos/dashea/requests-ftp/issues/events{/number}","events_url":"https://api.github.com/repos/dashea/requests-ftp/events","assignees_url":"https://api.github.com/repos/dashea/requests-ftp/assignees{/user}","branches_url":"https://api.github.com/repos/dashea/requests-ftp/branches{/branch}","tags_url":"https://api.github.com/repos/dashea/requests-ftp/tags","blobs_url":"https://api.github.com/repos/dashea/requests-ftp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dashea/requests-ftp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dashea/requests-ftp/git/refs{/sha}","trees_url":"https://api.github.com/repos/dashea/requests-ftp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dashea/requests-ftp/statuses/{sha}","languages_url":"https://api.github.com/repos/dashea/requests-ftp/languages","stargazers_url":"https://api.github.com/repos/dashea/requests-ftp/stargazers","contributors_url":"https://api.github.com/repos/dashea/requests-ftp/contributors","subscribers_url":"https://api.github.com/repos/dashea/requests-ftp/subscribers","subscription_url":"https://api.github.com/repos/dashea/requests-ftp/subscription","commits_url":"https://api.github.com/repos/dashea/requests-ftp/commits{/sha}","git_commits_url":"https://api.github.com/repos/dashea/requests-ftp/git/commits{/sha}","comments_url":"https://api.github.com/repos/dashea/requests-ftp/comments{/number}","issue_comment_url":"https://api.github.com/repos/dashea/requests-ftp/issues/comments{/number}","contents_url":"https://api.github.com/repos/dashea/requests-ftp/contents/{+path}","compare_url":"https://api.github.com/repos/dashea/requests-ftp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dashea/requests-ftp/merges","archive_url":"https://api.github.com/repos/dashea/requests-ftp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dashea/requests-ftp/downloads","issues_url":"https://api.github.com/repos/dashea/requests-ftp/issues{/number}","pulls_url":"https://api.github.com/repos/dashea/requests-ftp/pulls{/number}","milestones_url":"https://api.github.com/repos/dashea/requests-ftp/milestones{/number}","notifications_url":"https://api.github.com/repos/dashea/requests-ftp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dashea/requests-ftp/labels{/name}","releases_url":"https://api.github.com/repos/dashea/requests-ftp/releases{/id}","created_at":"2015-04-02T16:55:13Z","updated_at":"2015-04-02T16:55:13Z","pushed_at":"2015-04-02T16:56:06Z","git_url":"git://github.com/dashea/requests-ftp.git","ssh_url":"git@github.com:dashea/requests-ftp.git","clone_url":"https://github.com/dashea/requests-ftp.git","svn_url":"https://github.com/dashea/requests-ftp","homepage":null,"size":108,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"Lukasa:master","ref":"master","sha":"03022857594f0995b376a071ca8ad3294fefd583","user":{"login":"Lukasa","id":1382556,"avatar_url":"https://avatars.githubusercontent.com/u/1382556?v=3","gravatar_id":"","url":"https://api.github.com/users/Lukasa","html_url":"https://github.com/Lukasa","followers_url":"https://api.github.com/users/Lukasa/followers","following_url":"https://api.github.com/users/Lukasa/following{/other_user}","gists_url":"https://api.github.com/users/Lukasa/gists{/gist_id}","starred_url":"https://api.github.com/users/Lukasa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lukasa/subscriptions","organizations_url":"https://api.github.com/users/Lukasa/orgs","repos_url":"https://api.github.com/users/Lukasa/repos","events_url":"https://api.github.com/users/Lukasa/events{/privacy}","received_events_url":"https://api.github.com/users/Lukasa/received_events","type":"User","site_admin":false},"repo":{"id":7361146,"name":"requests-ftp","full_name":"Lukasa/requests-ftp","owner":{"login":"Lukasa","id":1382556,"avatar_url":"https://avatars.githubusercontent.com/u/1382556?v=3","gravatar_id":"","url":"https://api.github.com/users/Lukasa","html_url":"https://github.com/Lukasa","followers_url":"https://api.github.com/users/Lukasa/followers","following_url":"https://api.github.com/users/Lukasa/following{/other_user}","gists_url":"https://api.github.com/users/Lukasa/gists{/gist_id}","starred_url":"https://api.github.com/users/Lukasa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lukasa/subscriptions","organizations_url":"https://api.github.com/users/Lukasa/orgs","repos_url":"https://api.github.com/users/Lukasa/repos","events_url":"https://api.github.com/users/Lukasa/events{/privacy}","received_events_url":"https://api.github.com/users/Lukasa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Lukasa/requests-ftp","description":"An FTP transport adapter for use with the Python Requests library.","fork":false,"url":"https://api.github.com/repos/Lukasa/requests-ftp","forks_url":"https://api.github.com/repos/Lukasa/requests-ftp/forks","keys_url":"https://api.github.com/repos/Lukasa/requests-ftp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Lukasa/requests-ftp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Lukasa/requests-ftp/teams","hooks_url":"https://api.github.com/repos/Lukasa/requests-ftp/hooks","issue_events_url":"https://api.github.com/repos/Lukasa/requests-ftp/issues/events{/number}","events_url":"https://api.github.com/repos/Lukasa/requests-ftp/events","assignees_url":"https://api.github.com/repos/Lukasa/requests-ftp/assignees{/user}","branches_url":"https://api.github.com/repos/Lukasa/requests-ftp/branches{/branch}","tags_url":"https://api.github.com/repos/Lukasa/requests-ftp/tags","blobs_url":"https://api.github.com/repos/Lukasa/requests-ftp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Lukasa/requests-ftp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Lukasa/requests-ftp/git/refs{/sha}","trees_url":"https://api.github.com/repos/Lukasa/requests-ftp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Lukasa/requests-ftp/statuses/{sha}","languages_url":"https://api.github.com/repos/Lukasa/requests-ftp/languages","stargazers_url":"https://api.github.com/repos/Lukasa/requests-ftp/stargazers","contributors_url":"https://api.github.com/repos/Lukasa/requests-ftp/contributors","subscribers_url":"https://api.github.com/repos/Lukasa/requests-ftp/subscribers","subscription_url":"https://api.github.com/repos/Lukasa/requests-ftp/subscription","commits_url":"https://api.github.com/repos/Lukasa/requests-ftp/commits{/sha}","git_commits_url":"https://api.github.com/repos/Lukasa/requests-ftp/git/commits{/sha}","comments_url":"https://api.github.com/repos/Lukasa/requests-ftp/comments{/number}","issue_comment_url":"https://api.github.com/repos/Lukasa/requests-ftp/issues/comments{/number}","contents_url":"https://api.github.com/repos/Lukasa/requests-ftp/contents/{+path}","compare_url":"https://api.github.com/repos/Lukasa/requests-ftp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Lukasa/requests-ftp/merges","archive_url":"https://api.github.com/repos/Lukasa/requests-ftp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Lukasa/requests-ftp/downloads","issues_url":"https://api.github.com/repos/Lukasa/requests-ftp/issues{/number}","pulls_url":"https://api.github.com/repos/Lukasa/requests-ftp/pulls{/number}","milestones_url":"https://api.github.com/repos/Lukasa/requests-ftp/milestones{/number}","notifications_url":"https://api.github.com/repos/Lukasa/requests-ftp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Lukasa/requests-ftp/labels{/name}","releases_url":"https://api.github.com/repos/Lukasa/requests-ftp/releases{/id}","created_at":"2012-12-28T23:50:12Z","updated_at":"2015-03-16T20:46:54Z","pushed_at":"2014-06-30T15:06:18Z","git_url":"git://github.com/Lukasa/requests-ftp.git","ssh_url":"git@github.com:Lukasa/requests-ftp.git","clone_url":"https://github.com/Lukasa/requests-ftp.git","svn_url":"https://github.com/Lukasa/requests-ftp","homepage":null,"size":242,"stargazers_count":16,"watchers_count":16,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":3,"forks":5,"open_issues":3,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Lukasa/requests-ftp/pulls/11"},"html":{"href":"https://github.com/Lukasa/requests-ftp/pull/11"},"issue":{"href":"https://api.github.com/repos/Lukasa/requests-ftp/issues/11"},"comments":{"href":"https://api.github.com/repos/Lukasa/requests-ftp/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/Lukasa/requests-ftp/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/Lukasa/requests-ftp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Lukasa/requests-ftp/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/Lukasa/requests-ftp/statuses/0bc24e1e94335b586afd3b68d750cf500c5575e8"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":11,"additions":581,"deletions":42,"changed_files":8}}