{"action":"opened","number":2557,"pull_request":{"url":"https://api.github.com/repos/AFNetworking/AFNetworking/pulls/2557","id":29079941,"html_url":"https://github.com/AFNetworking/AFNetworking/pull/2557","diff_url":"https://github.com/AFNetworking/AFNetworking/pull/2557.diff","patch_url":"https://github.com/AFNetworking/AFNetworking/pull/2557.patch","issue_url":"https://api.github.com/repos/AFNetworking/AFNetworking/issues/2557","number":2557,"state":"open","locked":false,"title":"add UIImage support in AFHTTPRequestSerializer.","user":{"login":"zhfish","id":287033,"avatar_url":"https://avatars.githubusercontent.com/u/287033?v=3","gravatar_id":"","url":"https://api.github.com/users/zhfish","html_url":"https://github.com/zhfish","followers_url":"https://api.github.com/users/zhfish/followers","following_url":"https://api.github.com/users/zhfish/following{/other_user}","gists_url":"https://api.github.com/users/zhfish/gists{/gist_id}","starred_url":"https://api.github.com/users/zhfish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhfish/subscriptions","organizations_url":"https://api.github.com/users/zhfish/orgs","repos_url":"https://api.github.com/users/zhfish/repos","events_url":"https://api.github.com/users/zhfish/events{/privacy}","received_events_url":"https://api.github.com/users/zhfish/received_events","type":"User","site_admin":false},"body":"add UIImage support in AFHTTPRequestSerializer.\r\nit can convert UIImage To NSData with fileName and mimeType.\r\n\r\nin  multipartFormRequestWithMethod, UIImage will auto use fileName and mimeType\r\nmore convenient than constructingBodyWithBlock.","created_at":"2015-02-11T10:21:27Z","updated_at":"2015-02-11T10:21:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/AFNetworking/AFNetworking/pulls/2557/commits","review_comments_url":"https://api.github.com/repos/AFNetworking/AFNetworking/pulls/2557/comments","review_comment_url":"https://api.github.com/repos/AFNetworking/AFNetworking/pulls/comments/{number}","comments_url":"https://api.github.com/repos/AFNetworking/AFNetworking/issues/2557/comments","statuses_url":"https://api.github.com/repos/AFNetworking/AFNetworking/statuses/af0af951efa6151c6aac7d0e9a6a770ca4bff162","head":{"label":"zhfish:pr","ref":"pr","sha":"af0af951efa6151c6aac7d0e9a6a770ca4bff162","user":{"login":"zhfish","id":287033,"avatar_url":"https://avatars.githubusercontent.com/u/287033?v=3","gravatar_id":"","url":"https://api.github.com/users/zhfish","html_url":"https://github.com/zhfish","followers_url":"https://api.github.com/users/zhfish/followers","following_url":"https://api.github.com/users/zhfish/following{/other_user}","gists_url":"https://api.github.com/users/zhfish/gists{/gist_id}","starred_url":"https://api.github.com/users/zhfish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhfish/subscriptions","organizations_url":"https://api.github.com/users/zhfish/orgs","repos_url":"https://api.github.com/users/zhfish/repos","events_url":"https://api.github.com/users/zhfish/events{/privacy}","received_events_url":"https://api.github.com/users/zhfish/received_events","type":"User","site_admin":false},"repo":{"id":30640130,"name":"AFNetworking","full_name":"zhfish/AFNetworking","owner":{"login":"zhfish","id":287033,"avatar_url":"https://avatars.githubusercontent.com/u/287033?v=3","gravatar_id":"","url":"https://api.github.com/users/zhfish","html_url":"https://github.com/zhfish","followers_url":"https://api.github.com/users/zhfish/followers","following_url":"https://api.github.com/users/zhfish/following{/other_user}","gists_url":"https://api.github.com/users/zhfish/gists{/gist_id}","starred_url":"https://api.github.com/users/zhfish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhfish/subscriptions","organizations_url":"https://api.github.com/users/zhfish/orgs","repos_url":"https://api.github.com/users/zhfish/repos","events_url":"https://api.github.com/users/zhfish/events{/privacy}","received_events_url":"https://api.github.com/users/zhfish/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zhfish/AFNetworking","description":"A delightful iOS and OS X networking framework","fork":true,"url":"https://api.github.com/repos/zhfish/AFNetworking","forks_url":"https://api.github.com/repos/zhfish/AFNetworking/forks","keys_url":"https://api.github.com/repos/zhfish/AFNetworking/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zhfish/AFNetworking/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zhfish/AFNetworking/teams","hooks_url":"https://api.github.com/repos/zhfish/AFNetworking/hooks","issue_events_url":"https://api.github.com/repos/zhfish/AFNetworking/issues/events{/number}","events_url":"https://api.github.com/repos/zhfish/AFNetworking/events","assignees_url":"https://api.github.com/repos/zhfish/AFNetworking/assignees{/user}","branches_url":"https://api.github.com/repos/zhfish/AFNetworking/branches{/branch}","tags_url":"https://api.github.com/repos/zhfish/AFNetworking/tags","blobs_url":"https://api.github.com/repos/zhfish/AFNetworking/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zhfish/AFNetworking/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zhfish/AFNetworking/git/refs{/sha}","trees_url":"https://api.github.com/repos/zhfish/AFNetworking/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zhfish/AFNetworking/statuses/{sha}","languages_url":"https://api.github.com/repos/zhfish/AFNetworking/languages","stargazers_url":"https://api.github.com/repos/zhfish/AFNetworking/stargazers","contributors_url":"https://api.github.com/repos/zhfish/AFNetworking/contributors","subscribers_url":"https://api.github.com/repos/zhfish/AFNetworking/subscribers","subscription_url":"https://api.github.com/repos/zhfish/AFNetworking/subscription","commits_url":"https://api.github.com/repos/zhfish/AFNetworking/commits{/sha}","git_commits_url":"https://api.github.com/repos/zhfish/AFNetworking/git/commits{/sha}","comments_url":"https://api.github.com/repos/zhfish/AFNetworking/comments{/number}","issue_comment_url":"https://api.github.com/repos/zhfish/AFNetworking/issues/comments/{number}","contents_url":"https://api.github.com/repos/zhfish/AFNetworking/contents/{+path}","compare_url":"https://api.github.com/repos/zhfish/AFNetworking/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zhfish/AFNetworking/merges","archive_url":"https://api.github.com/repos/zhfish/AFNetworking/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zhfish/AFNetworking/downloads","issues_url":"https://api.github.com/repos/zhfish/AFNetworking/issues{/number}","pulls_url":"https://api.github.com/repos/zhfish/AFNetworking/pulls{/number}","milestones_url":"https://api.github.com/repos/zhfish/AFNetworking/milestones{/number}","notifications_url":"https://api.github.com/repos/zhfish/AFNetworking/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zhfish/AFNetworking/labels{/name}","releases_url":"https://api.github.com/repos/zhfish/AFNetworking/releases{/id}","created_at":"2015-02-11T09:22:21Z","updated_at":"2015-02-11T10:18:44Z","pushed_at":"2015-02-11T10:18:44Z","git_url":"git://github.com/zhfish/AFNetworking.git","ssh_url":"git@github.com:zhfish/AFNetworking.git","clone_url":"https://github.com/zhfish/AFNetworking.git","svn_url":"https://github.com/zhfish/AFNetworking","homepage":"http://afnetworking.com","size":14726,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","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":"AFNetworking:master","ref":"master","sha":"deb4e1bc424f4d17b9f4116a401fe94fd4b779bf","user":{"login":"AFNetworking","id":1181541,"avatar_url":"https://avatars.githubusercontent.com/u/1181541?v=3","gravatar_id":"","url":"https://api.github.com/users/AFNetworking","html_url":"https://github.com/AFNetworking","followers_url":"https://api.github.com/users/AFNetworking/followers","following_url":"https://api.github.com/users/AFNetworking/following{/other_user}","gists_url":"https://api.github.com/users/AFNetworking/gists{/gist_id}","starred_url":"https://api.github.com/users/AFNetworking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AFNetworking/subscriptions","organizations_url":"https://api.github.com/users/AFNetworking/orgs","repos_url":"https://api.github.com/users/AFNetworking/repos","events_url":"https://api.github.com/users/AFNetworking/events{/privacy}","received_events_url":"https://api.github.com/users/AFNetworking/received_events","type":"Organization","site_admin":false},"repo":{"id":1828795,"name":"AFNetworking","full_name":"AFNetworking/AFNetworking","owner":{"login":"AFNetworking","id":1181541,"avatar_url":"https://avatars.githubusercontent.com/u/1181541?v=3","gravatar_id":"","url":"https://api.github.com/users/AFNetworking","html_url":"https://github.com/AFNetworking","followers_url":"https://api.github.com/users/AFNetworking/followers","following_url":"https://api.github.com/users/AFNetworking/following{/other_user}","gists_url":"https://api.github.com/users/AFNetworking/gists{/gist_id}","starred_url":"https://api.github.com/users/AFNetworking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AFNetworking/subscriptions","organizations_url":"https://api.github.com/users/AFNetworking/orgs","repos_url":"https://api.github.com/users/AFNetworking/repos","events_url":"https://api.github.com/users/AFNetworking/events{/privacy}","received_events_url":"https://api.github.com/users/AFNetworking/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AFNetworking/AFNetworking","description":"A delightful iOS and OS X networking framework","fork":false,"url":"https://api.github.com/repos/AFNetworking/AFNetworking","forks_url":"https://api.github.com/repos/AFNetworking/AFNetworking/forks","keys_url":"https://api.github.com/repos/AFNetworking/AFNetworking/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AFNetworking/AFNetworking/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AFNetworking/AFNetworking/teams","hooks_url":"https://api.github.com/repos/AFNetworking/AFNetworking/hooks","issue_events_url":"https://api.github.com/repos/AFNetworking/AFNetworking/issues/events{/number}","events_url":"https://api.github.com/repos/AFNetworking/AFNetworking/events","assignees_url":"https://api.github.com/repos/AFNetworking/AFNetworking/assignees{/user}","branches_url":"https://api.github.com/repos/AFNetworking/AFNetworking/branches{/branch}","tags_url":"https://api.github.com/repos/AFNetworking/AFNetworking/tags","blobs_url":"https://api.github.com/repos/AFNetworking/AFNetworking/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AFNetworking/AFNetworking/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AFNetworking/AFNetworking/git/refs{/sha}","trees_url":"https://api.github.com/repos/AFNetworking/AFNetworking/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AFNetworking/AFNetworking/statuses/{sha}","languages_url":"https://api.github.com/repos/AFNetworking/AFNetworking/languages","stargazers_url":"https://api.github.com/repos/AFNetworking/AFNetworking/stargazers","contributors_url":"https://api.github.com/repos/AFNetworking/AFNetworking/contributors","subscribers_url":"https://api.github.com/repos/AFNetworking/AFNetworking/subscribers","subscription_url":"https://api.github.com/repos/AFNetworking/AFNetworking/subscription","commits_url":"https://api.github.com/repos/AFNetworking/AFNetworking/commits{/sha}","git_commits_url":"https://api.github.com/repos/AFNetworking/AFNetworking/git/commits{/sha}","comments_url":"https://api.github.com/repos/AFNetworking/AFNetworking/comments{/number}","issue_comment_url":"https://api.github.com/repos/AFNetworking/AFNetworking/issues/comments/{number}","contents_url":"https://api.github.com/repos/AFNetworking/AFNetworking/contents/{+path}","compare_url":"https://api.github.com/repos/AFNetworking/AFNetworking/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AFNetworking/AFNetworking/merges","archive_url":"https://api.github.com/repos/AFNetworking/AFNetworking/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AFNetworking/AFNetworking/downloads","issues_url":"https://api.github.com/repos/AFNetworking/AFNetworking/issues{/number}","pulls_url":"https://api.github.com/repos/AFNetworking/AFNetworking/pulls{/number}","milestones_url":"https://api.github.com/repos/AFNetworking/AFNetworking/milestones{/number}","notifications_url":"https://api.github.com/repos/AFNetworking/AFNetworking/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AFNetworking/AFNetworking/labels{/name}","releases_url":"https://api.github.com/repos/AFNetworking/AFNetworking/releases{/id}","created_at":"2011-05-31T21:28:44Z","updated_at":"2015-02-11T10:19:39Z","pushed_at":"2015-02-09T13:46:24Z","git_url":"git://github.com/AFNetworking/AFNetworking.git","ssh_url":"git@github.com:AFNetworking/AFNetworking.git","clone_url":"https://github.com/AFNetworking/AFNetworking.git","svn_url":"https://github.com/AFNetworking/AFNetworking","homepage":"http://afnetworking.com","size":14726,"stargazers_count":15762,"watchers_count":15762,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4496,"mirror_url":null,"open_issues_count":27,"forks":4496,"open_issues":27,"watchers":15762,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AFNetworking/AFNetworking/pulls/2557"},"html":{"href":"https://github.com/AFNetworking/AFNetworking/pull/2557"},"issue":{"href":"https://api.github.com/repos/AFNetworking/AFNetworking/issues/2557"},"comments":{"href":"https://api.github.com/repos/AFNetworking/AFNetworking/issues/2557/comments"},"review_comments":{"href":"https://api.github.com/repos/AFNetworking/AFNetworking/pulls/2557/comments"},"review_comment":{"href":"https://api.github.com/repos/AFNetworking/AFNetworking/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/AFNetworking/AFNetworking/pulls/2557/commits"},"statuses":{"href":"https://api.github.com/repos/AFNetworking/AFNetworking/statuses/af0af951efa6151c6aac7d0e9a6a770ca4bff162"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":57,"deletions":1,"changed_files":2}}