{"action":"created","issue":{"url":"https://api.github.com/repos/ProcedureKit/ProcedureKit/issues/567","repository_url":"https://api.github.com/repos/ProcedureKit/ProcedureKit","labels_url":"https://api.github.com/repos/ProcedureKit/ProcedureKit/issues/567/labels{/name}","comments_url":"https://api.github.com/repos/ProcedureKit/ProcedureKit/issues/567/comments","events_url":"https://api.github.com/repos/ProcedureKit/ProcedureKit/issues/567/events","html_url":"https://github.com/ProcedureKit/ProcedureKit/pull/567","id":186791437,"number":567,"title":"Add NetworkUploadProcedure.","user":{"login":"yageek","id":170917,"avatar_url":"https://avatars.githubusercontent.com/u/170917?v=3","gravatar_id":"","url":"https://api.github.com/users/yageek","html_url":"https://github.com/yageek","followers_url":"https://api.github.com/users/yageek/followers","following_url":"https://api.github.com/users/yageek/following{/other_user}","gists_url":"https://api.github.com/users/yageek/gists{/gist_id}","starred_url":"https://api.github.com/users/yageek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yageek/subscriptions","organizations_url":"https://api.github.com/users/yageek/orgs","repos_url":"https://api.github.com/users/yageek/repos","events_url":"https://api.github.com/users/yageek/events{/privacy}","received_events_url":"https://api.github.com/users/yageek/received_events","type":"User","site_admin":false},"labels":[{"id":463124421,"url":"https://api.github.com/repos/ProcedureKit/ProcedureKit/labels/ProcedureKitNetwork","name":"ProcedureKitNetwork","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/ProcedureKit/ProcedureKit/milestones/43","html_url":"https://github.com/ProcedureKit/ProcedureKit/milestones/4.0%20-%20Beta%205","labels_url":"https://api.github.com/repos/ProcedureKit/ProcedureKit/milestones/43/labels","id":2102224,"number":43,"title":"4.0 - Beta 5","description":null,"creator":{"login":"danthorpe","id":309420,"avatar_url":"https://avatars.githubusercontent.com/u/309420?v=3","gravatar_id":"","url":"https://api.github.com/users/danthorpe","html_url":"https://github.com/danthorpe","followers_url":"https://api.github.com/users/danthorpe/followers","following_url":"https://api.github.com/users/danthorpe/following{/other_user}","gists_url":"https://api.github.com/users/danthorpe/gists{/gist_id}","starred_url":"https://api.github.com/users/danthorpe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danthorpe/subscriptions","organizations_url":"https://api.github.com/users/danthorpe/orgs","repos_url":"https://api.github.com/users/danthorpe/repos","events_url":"https://api.github.com/users/danthorpe/events{/privacy}","received_events_url":"https://api.github.com/users/danthorpe/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":2,"state":"open","created_at":"2016-10-30T11:59:52Z","updated_at":"2016-11-02T12:59:03Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2016-11-02T12:47:56Z","updated_at":"2016-11-02T13:36:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ProcedureKit/ProcedureKit/pulls/567","html_url":"https://github.com/ProcedureKit/ProcedureKit/pull/567","diff_url":"https://github.com/ProcedureKit/ProcedureKit/pull/567.diff","patch_url":"https://github.com/ProcedureKit/ProcedureKit/pull/567.patch"},"body":"The implementation class and test has been largely inspired by\r\n`NetworkDataProcedure`.\r\n\r\nThe requirement type is currently a pending value of a tuple.\r\nMaybe would it make more sense to create a dedicated struct to add more\r\nclarity in the case of dependencies injection ?"},"comment":{"url":"https://api.github.com/repos/ProcedureKit/ProcedureKit/issues/comments/257865686","html_url":"https://github.com/ProcedureKit/ProcedureKit/pull/567#issuecomment-257865686","issue_url":"https://api.github.com/repos/ProcedureKit/ProcedureKit/issues/567","id":257865686,"user":{"login":"danthorpe","id":309420,"avatar_url":"https://avatars.githubusercontent.com/u/309420?v=3","gravatar_id":"","url":"https://api.github.com/users/danthorpe","html_url":"https://github.com/danthorpe","followers_url":"https://api.github.com/users/danthorpe/followers","following_url":"https://api.github.com/users/danthorpe/following{/other_user}","gists_url":"https://api.github.com/users/danthorpe/gists{/gist_id}","starred_url":"https://api.github.com/users/danthorpe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danthorpe/subscriptions","organizations_url":"https://api.github.com/users/danthorpe/orgs","repos_url":"https://api.github.com/users/danthorpe/repos","events_url":"https://api.github.com/users/danthorpe/events{/privacy}","received_events_url":"https://api.github.com/users/danthorpe/received_events","type":"User","site_admin":false},"created_at":"2016-11-02T13:36:34Z","updated_at":"2016-11-02T13:36:34Z","body":"Okay, so you'll have this: \r\n\r\n```swift\r\ninit(session: Session, request: URLRequest? = nil, data: Data? = nil, completionHandler: @escaping (HTTPResult<Data>) -> Void = { _ in }) {\r\n    requirement = request.flatMap { HTTPRequirement(data: nil, request: $0) } ?? .pending\r\n    // etc\r\n}\r\n```"}}
{"actor":{"display_login":"danthorpe"}}