{"action":"created","comment":{"url":"https://api.github.com/repos/http4s/http4s/pulls/comments/33740826","id":33740826,"diff_hunk":"@@ -137,6 +138,22 @@ trait EntityDecoderInstances {\n     EntityDecoder.decodeBy(MediaRange.`*/*`)(collectBinary)\n   }\n \n+  implicit def sourceDecoder[A](implicit W: EntityDecoder[A]): EntityDecoder[Process[Task,A]] =\n+    new EntityDecoder[Process[Task,A]] {\n+      override def decode(msg: Message): DecodeResult[Process[Task,A]] = {\n+        val result = msg.body.flatMap{ byteVector =>\n+          val fakeMessage = Request(body = Process.emit(byteVector))\n+          Process.await(W.decode(fakeMessage).run) {","path":"core/src/main/scala/org/http4s/EntityDecoder.scala","position":17,"original_position":17,"commit_id":"b2de1288ea52d9084cc2975d51a8a5764ad00f2e","original_commit_id":"b2de1288ea52d9084cc2975d51a8a5764ad00f2e","user":{"login":"rossabaker","id":142698,"avatar_url":"https://avatars.githubusercontent.com/u/142698?v=3","gravatar_id":"","url":"https://api.github.com/users/rossabaker","html_url":"https://github.com/rossabaker","followers_url":"https://api.github.com/users/rossabaker/followers","following_url":"https://api.github.com/users/rossabaker/following{/other_user}","gists_url":"https://api.github.com/users/rossabaker/gists{/gist_id}","starred_url":"https://api.github.com/users/rossabaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rossabaker/subscriptions","organizations_url":"https://api.github.com/users/rossabaker/orgs","repos_url":"https://api.github.com/users/rossabaker/repos","events_url":"https://api.github.com/users/rossabaker/events{/privacy}","received_events_url":"https://api.github.com/users/rossabaker/received_events","type":"User","site_admin":false},"body":"Is this ever going to be able to return anything other than an error or a single-output `Process`?  I don't see any way for it to detect a boundary and loop back to process more `A`, which makes a `Process` seem like overkill.  It's also not clear to me how we could detect the boundaries of an arbitrary `A`.","created_at":"2015-07-02T01:23:11Z","updated_at":"2015-07-02T01:23:11Z","html_url":"https://github.com/http4s/http4s/pull/326#discussion_r33740826","pull_request_url":"https://api.github.com/repos/http4s/http4s/pulls/326","_links":{"self":{"href":"https://api.github.com/repos/http4s/http4s/pulls/comments/33740826"},"html":{"href":"https://github.com/http4s/http4s/pull/326#discussion_r33740826"},"pull_request":{"href":"https://api.github.com/repos/http4s/http4s/pulls/326"}}},"pull_request":{"url":"https://api.github.com/repos/http4s/http4s/pulls/326","id":39039365,"html_url":"https://github.com/http4s/http4s/pull/326","diff_url":"https://github.com/http4s/http4s/pull/326.diff","patch_url":"https://github.com/http4s/http4s/pull/326.patch","issue_url":"https://api.github.com/repos/http4s/http4s/issues/326","number":326,"state":"open","locked":false,"title":"[WIP] Client support for decoding chunked encoding as stream","user":{"login":"jedesah","id":1780116,"avatar_url":"https://avatars.githubusercontent.com/u/1780116?v=3","gravatar_id":"","url":"https://api.github.com/users/jedesah","html_url":"https://github.com/jedesah","followers_url":"https://api.github.com/users/jedesah/followers","following_url":"https://api.github.com/users/jedesah/following{/other_user}","gists_url":"https://api.github.com/users/jedesah/gists{/gist_id}","starred_url":"https://api.github.com/users/jedesah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jedesah/subscriptions","organizations_url":"https://api.github.com/users/jedesah/orgs","repos_url":"https://api.github.com/users/jedesah/repos","events_url":"https://api.github.com/users/jedesah/events{/privacy}","received_events_url":"https://api.github.com/users/jedesah/received_events","type":"User","site_admin":false},"body":"I am not sure it even makes all that much sense to expose streaming on the client side anymore now that I have a better idea what it means to supply a stream to a Response on the server side, i.e. possibly chunked encoding.\r\n\r\nI thought this might be a stepping stone to figure out if and how it would make sense to add websocket support to the client, but I think that is going to look quite different.","created_at":"2015-07-02T00:50:52Z","updated_at":"2015-07-02T01:23:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2549fa7de826c45d89c318ae0bb52594630c05bf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/http4s/http4s/pulls/326/commits","review_comments_url":"https://api.github.com/repos/http4s/http4s/pulls/326/comments","review_comment_url":"https://api.github.com/repos/http4s/http4s/pulls/comments{/number}","comments_url":"https://api.github.com/repos/http4s/http4s/issues/326/comments","statuses_url":"https://api.github.com/repos/http4s/http4s/statuses/b2de1288ea52d9084cc2975d51a8a5764ad00f2e","head":{"label":"jedesah:feature/chunked_straming_for_client","ref":"feature/chunked_straming_for_client","sha":"b2de1288ea52d9084cc2975d51a8a5764ad00f2e","user":{"login":"jedesah","id":1780116,"avatar_url":"https://avatars.githubusercontent.com/u/1780116?v=3","gravatar_id":"","url":"https://api.github.com/users/jedesah","html_url":"https://github.com/jedesah","followers_url":"https://api.github.com/users/jedesah/followers","following_url":"https://api.github.com/users/jedesah/following{/other_user}","gists_url":"https://api.github.com/users/jedesah/gists{/gist_id}","starred_url":"https://api.github.com/users/jedesah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jedesah/subscriptions","organizations_url":"https://api.github.com/users/jedesah/orgs","repos_url":"https://api.github.com/users/jedesah/repos","events_url":"https://api.github.com/users/jedesah/events{/privacy}","received_events_url":"https://api.github.com/users/jedesah/received_events","type":"User","site_admin":false},"repo":{"id":37951205,"name":"http4s","full_name":"jedesah/http4s","owner":{"login":"jedesah","id":1780116,"avatar_url":"https://avatars.githubusercontent.com/u/1780116?v=3","gravatar_id":"","url":"https://api.github.com/users/jedesah","html_url":"https://github.com/jedesah","followers_url":"https://api.github.com/users/jedesah/followers","following_url":"https://api.github.com/users/jedesah/following{/other_user}","gists_url":"https://api.github.com/users/jedesah/gists{/gist_id}","starred_url":"https://api.github.com/users/jedesah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jedesah/subscriptions","organizations_url":"https://api.github.com/users/jedesah/orgs","repos_url":"https://api.github.com/users/jedesah/repos","events_url":"https://api.github.com/users/jedesah/events{/privacy}","received_events_url":"https://api.github.com/users/jedesah/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jedesah/http4s","description":"A minimal, idiomatic Scala interface for HTTP","fork":true,"url":"https://api.github.com/repos/jedesah/http4s","forks_url":"https://api.github.com/repos/jedesah/http4s/forks","keys_url":"https://api.github.com/repos/jedesah/http4s/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jedesah/http4s/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jedesah/http4s/teams","hooks_url":"https://api.github.com/repos/jedesah/http4s/hooks","issue_events_url":"https://api.github.com/repos/jedesah/http4s/issues/events{/number}","events_url":"https://api.github.com/repos/jedesah/http4s/events","assignees_url":"https://api.github.com/repos/jedesah/http4s/assignees{/user}","branches_url":"https://api.github.com/repos/jedesah/http4s/branches{/branch}","tags_url":"https://api.github.com/repos/jedesah/http4s/tags","blobs_url":"https://api.github.com/repos/jedesah/http4s/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jedesah/http4s/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jedesah/http4s/git/refs{/sha}","trees_url":"https://api.github.com/repos/jedesah/http4s/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jedesah/http4s/statuses/{sha}","languages_url":"https://api.github.com/repos/jedesah/http4s/languages","stargazers_url":"https://api.github.com/repos/jedesah/http4s/stargazers","contributors_url":"https://api.github.com/repos/jedesah/http4s/contributors","subscribers_url":"https://api.github.com/repos/jedesah/http4s/subscribers","subscription_url":"https://api.github.com/repos/jedesah/http4s/subscription","commits_url":"https://api.github.com/repos/jedesah/http4s/commits{/sha}","git_commits_url":"https://api.github.com/repos/jedesah/http4s/git/commits{/sha}","comments_url":"https://api.github.com/repos/jedesah/http4s/comments{/number}","issue_comment_url":"https://api.github.com/repos/jedesah/http4s/issues/comments{/number}","contents_url":"https://api.github.com/repos/jedesah/http4s/contents/{+path}","compare_url":"https://api.github.com/repos/jedesah/http4s/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jedesah/http4s/merges","archive_url":"https://api.github.com/repos/jedesah/http4s/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jedesah/http4s/downloads","issues_url":"https://api.github.com/repos/jedesah/http4s/issues{/number}","pulls_url":"https://api.github.com/repos/jedesah/http4s/pulls{/number}","milestones_url":"https://api.github.com/repos/jedesah/http4s/milestones{/number}","notifications_url":"https://api.github.com/repos/jedesah/http4s/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jedesah/http4s/labels{/name}","releases_url":"https://api.github.com/repos/jedesah/http4s/releases{/id}","created_at":"2015-06-23T23:45:57Z","updated_at":"2015-06-23T23:45:58Z","pushed_at":"2015-07-02T00:45:31Z","git_url":"git://github.com/jedesah/http4s.git","ssh_url":"git@github.com:jedesah/http4s.git","clone_url":"https://github.com/jedesah/http4s.git","svn_url":"https://github.com/jedesah/http4s","homepage":"http://http4s.org/","size":10698,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"http4s:master","ref":"master","sha":"644d6cbc8b2f6e8173a02d79409d0f6fe2cc0652","user":{"login":"http4s","id":1527492,"avatar_url":"https://avatars.githubusercontent.com/u/1527492?v=3","gravatar_id":"","url":"https://api.github.com/users/http4s","html_url":"https://github.com/http4s","followers_url":"https://api.github.com/users/http4s/followers","following_url":"https://api.github.com/users/http4s/following{/other_user}","gists_url":"https://api.github.com/users/http4s/gists{/gist_id}","starred_url":"https://api.github.com/users/http4s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/http4s/subscriptions","organizations_url":"https://api.github.com/users/http4s/orgs","repos_url":"https://api.github.com/users/http4s/repos","events_url":"https://api.github.com/users/http4s/events{/privacy}","received_events_url":"https://api.github.com/users/http4s/received_events","type":"Organization","site_admin":false},"repo":{"id":3692188,"name":"http4s","full_name":"http4s/http4s","owner":{"login":"http4s","id":1527492,"avatar_url":"https://avatars.githubusercontent.com/u/1527492?v=3","gravatar_id":"","url":"https://api.github.com/users/http4s","html_url":"https://github.com/http4s","followers_url":"https://api.github.com/users/http4s/followers","following_url":"https://api.github.com/users/http4s/following{/other_user}","gists_url":"https://api.github.com/users/http4s/gists{/gist_id}","starred_url":"https://api.github.com/users/http4s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/http4s/subscriptions","organizations_url":"https://api.github.com/users/http4s/orgs","repos_url":"https://api.github.com/users/http4s/repos","events_url":"https://api.github.com/users/http4s/events{/privacy}","received_events_url":"https://api.github.com/users/http4s/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/http4s/http4s","description":"A minimal, idiomatic Scala interface for HTTP","fork":false,"url":"https://api.github.com/repos/http4s/http4s","forks_url":"https://api.github.com/repos/http4s/http4s/forks","keys_url":"https://api.github.com/repos/http4s/http4s/keys{/key_id}","collaborators_url":"https://api.github.com/repos/http4s/http4s/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/http4s/http4s/teams","hooks_url":"https://api.github.com/repos/http4s/http4s/hooks","issue_events_url":"https://api.github.com/repos/http4s/http4s/issues/events{/number}","events_url":"https://api.github.com/repos/http4s/http4s/events","assignees_url":"https://api.github.com/repos/http4s/http4s/assignees{/user}","branches_url":"https://api.github.com/repos/http4s/http4s/branches{/branch}","tags_url":"https://api.github.com/repos/http4s/http4s/tags","blobs_url":"https://api.github.com/repos/http4s/http4s/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/http4s/http4s/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/http4s/http4s/git/refs{/sha}","trees_url":"https://api.github.com/repos/http4s/http4s/git/trees{/sha}","statuses_url":"https://api.github.com/repos/http4s/http4s/statuses/{sha}","languages_url":"https://api.github.com/repos/http4s/http4s/languages","stargazers_url":"https://api.github.com/repos/http4s/http4s/stargazers","contributors_url":"https://api.github.com/repos/http4s/http4s/contributors","subscribers_url":"https://api.github.com/repos/http4s/http4s/subscribers","subscription_url":"https://api.github.com/repos/http4s/http4s/subscription","commits_url":"https://api.github.com/repos/http4s/http4s/commits{/sha}","git_commits_url":"https://api.github.com/repos/http4s/http4s/git/commits{/sha}","comments_url":"https://api.github.com/repos/http4s/http4s/comments{/number}","issue_comment_url":"https://api.github.com/repos/http4s/http4s/issues/comments{/number}","contents_url":"https://api.github.com/repos/http4s/http4s/contents/{+path}","compare_url":"https://api.github.com/repos/http4s/http4s/compare/{base}...{head}","merges_url":"https://api.github.com/repos/http4s/http4s/merges","archive_url":"https://api.github.com/repos/http4s/http4s/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/http4s/http4s/downloads","issues_url":"https://api.github.com/repos/http4s/http4s/issues{/number}","pulls_url":"https://api.github.com/repos/http4s/http4s/pulls{/number}","milestones_url":"https://api.github.com/repos/http4s/http4s/milestones{/number}","notifications_url":"https://api.github.com/repos/http4s/http4s/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/http4s/http4s/labels{/name}","releases_url":"https://api.github.com/repos/http4s/http4s/releases{/id}","created_at":"2012-03-12T04:41:20Z","updated_at":"2015-07-01T06:53:01Z","pushed_at":"2015-07-02T01:13:49Z","git_url":"git://github.com/http4s/http4s.git","ssh_url":"git@github.com:http4s/http4s.git","clone_url":"https://github.com/http4s/http4s.git","svn_url":"https://github.com/http4s/http4s","homepage":"http://http4s.org/","size":17389,"stargazers_count":266,"watchers_count":266,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":51,"mirror_url":null,"open_issues_count":35,"forks":51,"open_issues":35,"watchers":266,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/http4s/http4s/pulls/326"},"html":{"href":"https://github.com/http4s/http4s/pull/326"},"issue":{"href":"https://api.github.com/repos/http4s/http4s/issues/326"},"comments":{"href":"https://api.github.com/repos/http4s/http4s/issues/326/comments"},"review_comments":{"href":"https://api.github.com/repos/http4s/http4s/pulls/326/comments"},"review_comment":{"href":"https://api.github.com/repos/http4s/http4s/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/http4s/http4s/pulls/326/commits"},"statuses":{"href":"https://api.github.com/repos/http4s/http4s/statuses/b2de1288ea52d9084cc2975d51a8a5764ad00f2e"}}}}