{"action":"opened","number":1030,"pull_request":{"url":"https://api.github.com/repos/shazow/urllib3/pulls/1030","id":92509247,"html_url":"https://github.com/shazow/urllib3/pull/1030","diff_url":"https://github.com/shazow/urllib3/pull/1030.diff","patch_url":"https://github.com/shazow/urllib3/pull/1030.patch","issue_url":"https://api.github.com/repos/shazow/urllib3/issues/1030","number":1030,"state":"open","locked":false,"title":"Streaming File Uploads","user":{"login":"SethMichaelLarson","id":18519037,"avatar_url":"https://avatars.githubusercontent.com/u/18519037?v=3","gravatar_id":"","url":"https://api.github.com/users/SethMichaelLarson","html_url":"https://github.com/SethMichaelLarson","followers_url":"https://api.github.com/users/SethMichaelLarson/followers","following_url":"https://api.github.com/users/SethMichaelLarson/following{/other_user}","gists_url":"https://api.github.com/users/SethMichaelLarson/gists{/gist_id}","starred_url":"https://api.github.com/users/SethMichaelLarson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SethMichaelLarson/subscriptions","organizations_url":"https://api.github.com/users/SethMichaelLarson/orgs","repos_url":"https://api.github.com/users/SethMichaelLarson/repos","events_url":"https://api.github.com/users/SethMichaelLarson/events{/privacy}","received_events_url":"https://api.github.com/users/SethMichaelLarson/received_events","type":"User","site_admin":false},"body":"Took the work that was done a long time ago on the branch `filepost-stream` and brought it up to speed with the current API for filepost and fields modules, made it Python 2 and 3 compatible, added a test for memory usage and converted the current tests to use the new filepost iterator.\r\n\r\nMore tests to exercise each possible type of file-like or streamable object that can be passed into filepost will be created after this type of structure is approved and still wanted in urllib3.\r\n\r\nI don't know if this behavior is still desired within urllib3 or as @sigmavirus24 has mentioned using code from requests-toolbelt.","created_at":"2016-11-07T00:11:10Z","updated_at":"2016-11-07T00:11:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/shazow/urllib3/pulls/1030/commits","review_comments_url":"https://api.github.com/repos/shazow/urllib3/pulls/1030/comments","review_comment_url":"https://api.github.com/repos/shazow/urllib3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/shazow/urllib3/issues/1030/comments","statuses_url":"https://api.github.com/repos/shazow/urllib3/statuses/3e814c05d8a386cda72fe9da094470e680622f23","head":{"label":"SethMichaelLarson:stream_upload","ref":"stream_upload","sha":"3e814c05d8a386cda72fe9da094470e680622f23","user":{"login":"SethMichaelLarson","id":18519037,"avatar_url":"https://avatars.githubusercontent.com/u/18519037?v=3","gravatar_id":"","url":"https://api.github.com/users/SethMichaelLarson","html_url":"https://github.com/SethMichaelLarson","followers_url":"https://api.github.com/users/SethMichaelLarson/followers","following_url":"https://api.github.com/users/SethMichaelLarson/following{/other_user}","gists_url":"https://api.github.com/users/SethMichaelLarson/gists{/gist_id}","starred_url":"https://api.github.com/users/SethMichaelLarson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SethMichaelLarson/subscriptions","organizations_url":"https://api.github.com/users/SethMichaelLarson/orgs","repos_url":"https://api.github.com/users/SethMichaelLarson/repos","events_url":"https://api.github.com/users/SethMichaelLarson/events{/privacy}","received_events_url":"https://api.github.com/users/SethMichaelLarson/received_events","type":"User","site_admin":false},"repo":{"id":71281542,"name":"urllib3","full_name":"SethMichaelLarson/urllib3","owner":{"login":"SethMichaelLarson","id":18519037,"avatar_url":"https://avatars.githubusercontent.com/u/18519037?v=3","gravatar_id":"","url":"https://api.github.com/users/SethMichaelLarson","html_url":"https://github.com/SethMichaelLarson","followers_url":"https://api.github.com/users/SethMichaelLarson/followers","following_url":"https://api.github.com/users/SethMichaelLarson/following{/other_user}","gists_url":"https://api.github.com/users/SethMichaelLarson/gists{/gist_id}","starred_url":"https://api.github.com/users/SethMichaelLarson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SethMichaelLarson/subscriptions","organizations_url":"https://api.github.com/users/SethMichaelLarson/orgs","repos_url":"https://api.github.com/users/SethMichaelLarson/repos","events_url":"https://api.github.com/users/SethMichaelLarson/events{/privacy}","received_events_url":"https://api.github.com/users/SethMichaelLarson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SethMichaelLarson/urllib3","description":"Python HTTP library with thread-safe connection pooling, file post support, sanity friendly, and more.","fork":true,"url":"https://api.github.com/repos/SethMichaelLarson/urllib3","forks_url":"https://api.github.com/repos/SethMichaelLarson/urllib3/forks","keys_url":"https://api.github.com/repos/SethMichaelLarson/urllib3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SethMichaelLarson/urllib3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SethMichaelLarson/urllib3/teams","hooks_url":"https://api.github.com/repos/SethMichaelLarson/urllib3/hooks","issue_events_url":"https://api.github.com/repos/SethMichaelLarson/urllib3/issues/events{/number}","events_url":"https://api.github.com/repos/SethMichaelLarson/urllib3/events","assignees_url":"https://api.github.com/repos/SethMichaelLarson/urllib3/assignees{/user}","branches_url":"https://api.github.com/repos/SethMichaelLarson/urllib3/branches{/branch}","tags_url":"https://api.github.com/repos/SethMichaelLarson/urllib3/tags","blobs_url":"https://api.github.com/repos/SethMichaelLarson/urllib3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SethMichaelLarson/urllib3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SethMichaelLarson/urllib3/git/refs{/sha}","trees_url":"https://api.github.com/repos/SethMichaelLarson/urllib3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SethMichaelLarson/urllib3/statuses/{sha}","languages_url":"https://api.github.com/repos/SethMichaelLarson/urllib3/languages","stargazers_url":"https://api.github.com/repos/SethMichaelLarson/urllib3/stargazers","contributors_url":"https://api.github.com/repos/SethMichaelLarson/urllib3/contributors","subscribers_url":"https://api.github.com/repos/SethMichaelLarson/urllib3/subscribers","subscription_url":"https://api.github.com/repos/SethMichaelLarson/urllib3/subscription","commits_url":"https://api.github.com/repos/SethMichaelLarson/urllib3/commits{/sha}","git_commits_url":"https://api.github.com/repos/SethMichaelLarson/urllib3/git/commits{/sha}","comments_url":"https://api.github.com/repos/SethMichaelLarson/urllib3/comments{/number}","issue_comment_url":"https://api.github.com/repos/SethMichaelLarson/urllib3/issues/comments{/number}","contents_url":"https://api.github.com/repos/SethMichaelLarson/urllib3/contents/{+path}","compare_url":"https://api.github.com/repos/SethMichaelLarson/urllib3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SethMichaelLarson/urllib3/merges","archive_url":"https://api.github.com/repos/SethMichaelLarson/urllib3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SethMichaelLarson/urllib3/downloads","issues_url":"https://api.github.com/repos/SethMichaelLarson/urllib3/issues{/number}","pulls_url":"https://api.github.com/repos/SethMichaelLarson/urllib3/pulls{/number}","milestones_url":"https://api.github.com/repos/SethMichaelLarson/urllib3/milestones{/number}","notifications_url":"https://api.github.com/repos/SethMichaelLarson/urllib3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SethMichaelLarson/urllib3/labels{/name}","releases_url":"https://api.github.com/repos/SethMichaelLarson/urllib3/releases{/id}","deployments_url":"https://api.github.com/repos/SethMichaelLarson/urllib3/deployments","created_at":"2016-10-18T18:59:43Z","updated_at":"2016-10-18T18:59:44Z","pushed_at":"2016-11-06T23:58:16Z","git_url":"git://github.com/SethMichaelLarson/urllib3.git","ssh_url":"git@github.com:SethMichaelLarson/urllib3.git","clone_url":"https://github.com/SethMichaelLarson/urllib3.git","svn_url":"https://github.com/SethMichaelLarson/urllib3","homepage":"https://urllib3.readthedocs.io/","size":3082,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"master"}},"base":{"label":"shazow:master","ref":"master","sha":"2398290c337096c75808ddbb268339afe45912f3","user":{"login":"shazow","id":6292,"avatar_url":"https://avatars.githubusercontent.com/u/6292?v=3","gravatar_id":"","url":"https://api.github.com/users/shazow","html_url":"https://github.com/shazow","followers_url":"https://api.github.com/users/shazow/followers","following_url":"https://api.github.com/users/shazow/following{/other_user}","gists_url":"https://api.github.com/users/shazow/gists{/gist_id}","starred_url":"https://api.github.com/users/shazow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shazow/subscriptions","organizations_url":"https://api.github.com/users/shazow/orgs","repos_url":"https://api.github.com/users/shazow/repos","events_url":"https://api.github.com/users/shazow/events{/privacy}","received_events_url":"https://api.github.com/users/shazow/received_events","type":"User","site_admin":false},"repo":{"id":2410676,"name":"urllib3","full_name":"shazow/urllib3","owner":{"login":"shazow","id":6292,"avatar_url":"https://avatars.githubusercontent.com/u/6292?v=3","gravatar_id":"","url":"https://api.github.com/users/shazow","html_url":"https://github.com/shazow","followers_url":"https://api.github.com/users/shazow/followers","following_url":"https://api.github.com/users/shazow/following{/other_user}","gists_url":"https://api.github.com/users/shazow/gists{/gist_id}","starred_url":"https://api.github.com/users/shazow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shazow/subscriptions","organizations_url":"https://api.github.com/users/shazow/orgs","repos_url":"https://api.github.com/users/shazow/repos","events_url":"https://api.github.com/users/shazow/events{/privacy}","received_events_url":"https://api.github.com/users/shazow/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shazow/urllib3","description":"Python HTTP library with thread-safe connection pooling, file post support, sanity friendly, and more.","fork":false,"url":"https://api.github.com/repos/shazow/urllib3","forks_url":"https://api.github.com/repos/shazow/urllib3/forks","keys_url":"https://api.github.com/repos/shazow/urllib3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shazow/urllib3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shazow/urllib3/teams","hooks_url":"https://api.github.com/repos/shazow/urllib3/hooks","issue_events_url":"https://api.github.com/repos/shazow/urllib3/issues/events{/number}","events_url":"https://api.github.com/repos/shazow/urllib3/events","assignees_url":"https://api.github.com/repos/shazow/urllib3/assignees{/user}","branches_url":"https://api.github.com/repos/shazow/urllib3/branches{/branch}","tags_url":"https://api.github.com/repos/shazow/urllib3/tags","blobs_url":"https://api.github.com/repos/shazow/urllib3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shazow/urllib3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shazow/urllib3/git/refs{/sha}","trees_url":"https://api.github.com/repos/shazow/urllib3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shazow/urllib3/statuses/{sha}","languages_url":"https://api.github.com/repos/shazow/urllib3/languages","stargazers_url":"https://api.github.com/repos/shazow/urllib3/stargazers","contributors_url":"https://api.github.com/repos/shazow/urllib3/contributors","subscribers_url":"https://api.github.com/repos/shazow/urllib3/subscribers","subscription_url":"https://api.github.com/repos/shazow/urllib3/subscription","commits_url":"https://api.github.com/repos/shazow/urllib3/commits{/sha}","git_commits_url":"https://api.github.com/repos/shazow/urllib3/git/commits{/sha}","comments_url":"https://api.github.com/repos/shazow/urllib3/comments{/number}","issue_comment_url":"https://api.github.com/repos/shazow/urllib3/issues/comments{/number}","contents_url":"https://api.github.com/repos/shazow/urllib3/contents/{+path}","compare_url":"https://api.github.com/repos/shazow/urllib3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shazow/urllib3/merges","archive_url":"https://api.github.com/repos/shazow/urllib3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shazow/urllib3/downloads","issues_url":"https://api.github.com/repos/shazow/urllib3/issues{/number}","pulls_url":"https://api.github.com/repos/shazow/urllib3/pulls{/number}","milestones_url":"https://api.github.com/repos/shazow/urllib3/milestones{/number}","notifications_url":"https://api.github.com/repos/shazow/urllib3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shazow/urllib3/labels{/name}","releases_url":"https://api.github.com/repos/shazow/urllib3/releases{/id}","deployments_url":"https://api.github.com/repos/shazow/urllib3/deployments","created_at":"2011-09-18T18:08:28Z","updated_at":"2016-11-05T05:24:09Z","pushed_at":"2016-11-06T17:57:06Z","git_url":"git://github.com/shazow/urllib3.git","ssh_url":"git@github.com:shazow/urllib3.git","clone_url":"https://github.com/shazow/urllib3.git","svn_url":"https://github.com/shazow/urllib3","homepage":"https://urllib3.readthedocs.io/","size":5154,"stargazers_count":1155,"watchers_count":1155,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":389,"mirror_url":null,"open_issues_count":120,"forks":389,"open_issues":120,"watchers":1155,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/shazow/urllib3/pulls/1030"},"html":{"href":"https://github.com/shazow/urllib3/pull/1030"},"issue":{"href":"https://api.github.com/repos/shazow/urllib3/issues/1030"},"comments":{"href":"https://api.github.com/repos/shazow/urllib3/issues/1030/comments"},"review_comments":{"href":"https://api.github.com/repos/shazow/urllib3/pulls/1030/comments"},"review_comment":{"href":"https://api.github.com/repos/shazow/urllib3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/shazow/urllib3/pulls/1030/commits"},"statuses":{"href":"https://api.github.com/repos/shazow/urllib3/statuses/3e814c05d8a386cda72fe9da094470e680622f23"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":15,"additions":205,"deletions":37,"changed_files":4}}
{"actor":{"display_login":"SethMichaelLarson"}}