{"action":"created","comment":{"url":"https://api.github.com/repos/akka/akka/pulls/comments/68936166","id":68936166,"diff_hunk":"@@ -23,6 +27,26 @@ class MethodDirectivesSpec extends RoutingSpec {\n     }\n   }\n \n+  \"head\" should {\n+    val headRoute = head {\n+      complete(HttpEntity.Default(\n+        ContentTypes.`application/octet-stream`,\n+        12345L,\n+        Source.empty\n+      ))\n+    }\n+\n+    \"allow manual complete\" in {\n+      Head() ~> headRoute ~> check {\n+        status shouldEqual StatusCodes.OK\n+\n+        val lengthF = response._3.dataBytes.runFold(0)((c, _) => c+1)\n+        val length = Await.result(lengthF, Duration(100, \"millis\"))","path":"akka-http-tests/src/test/scala/akka/http/scaladsl/server/directives/MethodDirectivesSpec.scala","position":32,"original_position":32,"commit_id":"73f2b265072ea569a4bb89a1223500464f7023f2","original_commit_id":"73f2b265072ea569a4bb89a1223500464f7023f2","user":{"login":"pjazdzewski1990","id":1136843,"avatar_url":"https://avatars.githubusercontent.com/u/1136843?v=3","gravatar_id":"","url":"https://api.github.com/users/pjazdzewski1990","html_url":"https://github.com/pjazdzewski1990","followers_url":"https://api.github.com/users/pjazdzewski1990/followers","following_url":"https://api.github.com/users/pjazdzewski1990/following{/other_user}","gists_url":"https://api.github.com/users/pjazdzewski1990/gists{/gist_id}","starred_url":"https://api.github.com/users/pjazdzewski1990/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjazdzewski1990/subscriptions","organizations_url":"https://api.github.com/users/pjazdzewski1990/orgs","repos_url":"https://api.github.com/users/pjazdzewski1990/repos","events_url":"https://api.github.com/users/pjazdzewski1990/events{/privacy}","received_events_url":"https://api.github.com/users/pjazdzewski1990/received_events","type":"User","site_admin":false},"body":"👍 ","created_at":"2016-06-29T12:24:25Z","updated_at":"2016-06-29T12:24:25Z","html_url":"https://github.com/akka/akka/pull/20853#discussion_r68936166","pull_request_url":"https://api.github.com/repos/akka/akka/pulls/20853","_links":{"self":{"href":"https://api.github.com/repos/akka/akka/pulls/comments/68936166"},"html":{"href":"https://github.com/akka/akka/pull/20853#discussion_r68936166"},"pull_request":{"href":"https://api.github.com/repos/akka/akka/pulls/20853"}}},"pull_request":{"url":"https://api.github.com/repos/akka/akka/pulls/20853","id":75613327,"html_url":"https://github.com/akka/akka/pull/20853","diff_url":"https://github.com/akka/akka/pull/20853.diff","patch_url":"https://github.com/akka/akka/pull/20853.patch","issue_url":"https://api.github.com/repos/akka/akka/issues/20853","number":20853,"state":"closed","locked":false,"title":"simple head test to cheack manual completion with empty Source","user":{"login":"pjazdzewski1990","id":1136843,"avatar_url":"https://avatars.githubusercontent.com/u/1136843?v=3","gravatar_id":"","url":"https://api.github.com/users/pjazdzewski1990","html_url":"https://github.com/pjazdzewski1990","followers_url":"https://api.github.com/users/pjazdzewski1990/followers","following_url":"https://api.github.com/users/pjazdzewski1990/following{/other_user}","gists_url":"https://api.github.com/users/pjazdzewski1990/gists{/gist_id}","starred_url":"https://api.github.com/users/pjazdzewski1990/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjazdzewski1990/subscriptions","organizations_url":"https://api.github.com/users/pjazdzewski1990/orgs","repos_url":"https://api.github.com/users/pjazdzewski1990/repos","events_url":"https://api.github.com/users/pjazdzewski1990/events{/privacy}","received_events_url":"https://api.github.com/users/pjazdzewski1990/received_events","type":"User","site_admin":false},"body":"Refs https://github.com/akka/akka/issues/20182","created_at":"2016-06-29T09:13:31Z","updated_at":"2016-06-29T12:24:25Z","closed_at":"2016-06-29T11:50:58Z","merged_at":"2016-06-29T11:50:58Z","merge_commit_sha":"421eb3d021b93d90f91d5e755cd07d9ae4034e99","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/akka/akka/pulls/20853/commits","review_comments_url":"https://api.github.com/repos/akka/akka/pulls/20853/comments","review_comment_url":"https://api.github.com/repos/akka/akka/pulls/comments{/number}","comments_url":"https://api.github.com/repos/akka/akka/issues/20853/comments","statuses_url":"https://api.github.com/repos/akka/akka/statuses/73f2b265072ea569a4bb89a1223500464f7023f2","head":{"label":"pjazdzewski1990:feature/manual_HEAD_handling","ref":"feature/manual_HEAD_handling","sha":"73f2b265072ea569a4bb89a1223500464f7023f2","user":{"login":"pjazdzewski1990","id":1136843,"avatar_url":"https://avatars.githubusercontent.com/u/1136843?v=3","gravatar_id":"","url":"https://api.github.com/users/pjazdzewski1990","html_url":"https://github.com/pjazdzewski1990","followers_url":"https://api.github.com/users/pjazdzewski1990/followers","following_url":"https://api.github.com/users/pjazdzewski1990/following{/other_user}","gists_url":"https://api.github.com/users/pjazdzewski1990/gists{/gist_id}","starred_url":"https://api.github.com/users/pjazdzewski1990/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjazdzewski1990/subscriptions","organizations_url":"https://api.github.com/users/pjazdzewski1990/orgs","repos_url":"https://api.github.com/users/pjazdzewski1990/repos","events_url":"https://api.github.com/users/pjazdzewski1990/events{/privacy}","received_events_url":"https://api.github.com/users/pjazdzewski1990/received_events","type":"User","site_admin":false},"repo":{"id":60169819,"name":"akka","full_name":"pjazdzewski1990/akka","owner":{"login":"pjazdzewski1990","id":1136843,"avatar_url":"https://avatars.githubusercontent.com/u/1136843?v=3","gravatar_id":"","url":"https://api.github.com/users/pjazdzewski1990","html_url":"https://github.com/pjazdzewski1990","followers_url":"https://api.github.com/users/pjazdzewski1990/followers","following_url":"https://api.github.com/users/pjazdzewski1990/following{/other_user}","gists_url":"https://api.github.com/users/pjazdzewski1990/gists{/gist_id}","starred_url":"https://api.github.com/users/pjazdzewski1990/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjazdzewski1990/subscriptions","organizations_url":"https://api.github.com/users/pjazdzewski1990/orgs","repos_url":"https://api.github.com/users/pjazdzewski1990/repos","events_url":"https://api.github.com/users/pjazdzewski1990/events{/privacy}","received_events_url":"https://api.github.com/users/pjazdzewski1990/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pjazdzewski1990/akka","description":"Akka Project","fork":true,"url":"https://api.github.com/repos/pjazdzewski1990/akka","forks_url":"https://api.github.com/repos/pjazdzewski1990/akka/forks","keys_url":"https://api.github.com/repos/pjazdzewski1990/akka/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pjazdzewski1990/akka/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pjazdzewski1990/akka/teams","hooks_url":"https://api.github.com/repos/pjazdzewski1990/akka/hooks","issue_events_url":"https://api.github.com/repos/pjazdzewski1990/akka/issues/events{/number}","events_url":"https://api.github.com/repos/pjazdzewski1990/akka/events","assignees_url":"https://api.github.com/repos/pjazdzewski1990/akka/assignees{/user}","branches_url":"https://api.github.com/repos/pjazdzewski1990/akka/branches{/branch}","tags_url":"https://api.github.com/repos/pjazdzewski1990/akka/tags","blobs_url":"https://api.github.com/repos/pjazdzewski1990/akka/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pjazdzewski1990/akka/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pjazdzewski1990/akka/git/refs{/sha}","trees_url":"https://api.github.com/repos/pjazdzewski1990/akka/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pjazdzewski1990/akka/statuses/{sha}","languages_url":"https://api.github.com/repos/pjazdzewski1990/akka/languages","stargazers_url":"https://api.github.com/repos/pjazdzewski1990/akka/stargazers","contributors_url":"https://api.github.com/repos/pjazdzewski1990/akka/contributors","subscribers_url":"https://api.github.com/repos/pjazdzewski1990/akka/subscribers","subscription_url":"https://api.github.com/repos/pjazdzewski1990/akka/subscription","commits_url":"https://api.github.com/repos/pjazdzewski1990/akka/commits{/sha}","git_commits_url":"https://api.github.com/repos/pjazdzewski1990/akka/git/commits{/sha}","comments_url":"https://api.github.com/repos/pjazdzewski1990/akka/comments{/number}","issue_comment_url":"https://api.github.com/repos/pjazdzewski1990/akka/issues/comments{/number}","contents_url":"https://api.github.com/repos/pjazdzewski1990/akka/contents/{+path}","compare_url":"https://api.github.com/repos/pjazdzewski1990/akka/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pjazdzewski1990/akka/merges","archive_url":"https://api.github.com/repos/pjazdzewski1990/akka/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pjazdzewski1990/akka/downloads","issues_url":"https://api.github.com/repos/pjazdzewski1990/akka/issues{/number}","pulls_url":"https://api.github.com/repos/pjazdzewski1990/akka/pulls{/number}","milestones_url":"https://api.github.com/repos/pjazdzewski1990/akka/milestones{/number}","notifications_url":"https://api.github.com/repos/pjazdzewski1990/akka/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pjazdzewski1990/akka/labels{/name}","releases_url":"https://api.github.com/repos/pjazdzewski1990/akka/releases{/id}","deployments_url":"https://api.github.com/repos/pjazdzewski1990/akka/deployments","created_at":"2016-06-01T11:04:57Z","updated_at":"2016-06-01T11:05:10Z","pushed_at":"2016-06-29T10:35:11Z","git_url":"git://github.com/pjazdzewski1990/akka.git","ssh_url":"git@github.com:pjazdzewski1990/akka.git","clone_url":"https://github.com/pjazdzewski1990/akka.git","svn_url":"https://github.com/pjazdzewski1990/akka","homepage":"http://akka.io","size":194698,"stargazers_count":0,"watchers_count":0,"language":"Scala","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":"akka:master","ref":"master","sha":"e7def17ce3314293573397fdf626818d756f9664","user":{"login":"akka","id":1496237,"avatar_url":"https://avatars.githubusercontent.com/u/1496237?v=3","gravatar_id":"","url":"https://api.github.com/users/akka","html_url":"https://github.com/akka","followers_url":"https://api.github.com/users/akka/followers","following_url":"https://api.github.com/users/akka/following{/other_user}","gists_url":"https://api.github.com/users/akka/gists{/gist_id}","starred_url":"https://api.github.com/users/akka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akka/subscriptions","organizations_url":"https://api.github.com/users/akka/orgs","repos_url":"https://api.github.com/users/akka/repos","events_url":"https://api.github.com/users/akka/events{/privacy}","received_events_url":"https://api.github.com/users/akka/received_events","type":"Organization","site_admin":false},"repo":{"id":130013,"name":"akka","full_name":"akka/akka","owner":{"login":"akka","id":1496237,"avatar_url":"https://avatars.githubusercontent.com/u/1496237?v=3","gravatar_id":"","url":"https://api.github.com/users/akka","html_url":"https://github.com/akka","followers_url":"https://api.github.com/users/akka/followers","following_url":"https://api.github.com/users/akka/following{/other_user}","gists_url":"https://api.github.com/users/akka/gists{/gist_id}","starred_url":"https://api.github.com/users/akka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akka/subscriptions","organizations_url":"https://api.github.com/users/akka/orgs","repos_url":"https://api.github.com/users/akka/repos","events_url":"https://api.github.com/users/akka/events{/privacy}","received_events_url":"https://api.github.com/users/akka/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/akka/akka","description":"Akka Project","fork":false,"url":"https://api.github.com/repos/akka/akka","forks_url":"https://api.github.com/repos/akka/akka/forks","keys_url":"https://api.github.com/repos/akka/akka/keys{/key_id}","collaborators_url":"https://api.github.com/repos/akka/akka/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/akka/akka/teams","hooks_url":"https://api.github.com/repos/akka/akka/hooks","issue_events_url":"https://api.github.com/repos/akka/akka/issues/events{/number}","events_url":"https://api.github.com/repos/akka/akka/events","assignees_url":"https://api.github.com/repos/akka/akka/assignees{/user}","branches_url":"https://api.github.com/repos/akka/akka/branches{/branch}","tags_url":"https://api.github.com/repos/akka/akka/tags","blobs_url":"https://api.github.com/repos/akka/akka/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/akka/akka/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/akka/akka/git/refs{/sha}","trees_url":"https://api.github.com/repos/akka/akka/git/trees{/sha}","statuses_url":"https://api.github.com/repos/akka/akka/statuses/{sha}","languages_url":"https://api.github.com/repos/akka/akka/languages","stargazers_url":"https://api.github.com/repos/akka/akka/stargazers","contributors_url":"https://api.github.com/repos/akka/akka/contributors","subscribers_url":"https://api.github.com/repos/akka/akka/subscribers","subscription_url":"https://api.github.com/repos/akka/akka/subscription","commits_url":"https://api.github.com/repos/akka/akka/commits{/sha}","git_commits_url":"https://api.github.com/repos/akka/akka/git/commits{/sha}","comments_url":"https://api.github.com/repos/akka/akka/comments{/number}","issue_comment_url":"https://api.github.com/repos/akka/akka/issues/comments{/number}","contents_url":"https://api.github.com/repos/akka/akka/contents/{+path}","compare_url":"https://api.github.com/repos/akka/akka/compare/{base}...{head}","merges_url":"https://api.github.com/repos/akka/akka/merges","archive_url":"https://api.github.com/repos/akka/akka/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/akka/akka/downloads","issues_url":"https://api.github.com/repos/akka/akka/issues{/number}","pulls_url":"https://api.github.com/repos/akka/akka/pulls{/number}","milestones_url":"https://api.github.com/repos/akka/akka/milestones{/number}","notifications_url":"https://api.github.com/repos/akka/akka/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/akka/akka/labels{/name}","releases_url":"https://api.github.com/repos/akka/akka/releases{/id}","deployments_url":"https://api.github.com/repos/akka/akka/deployments","created_at":"2009-02-16T12:51:54Z","updated_at":"2016-06-29T09:21:45Z","pushed_at":"2016-06-29T11:51:00Z","git_url":"git://github.com/akka/akka.git","ssh_url":"git@github.com:akka/akka.git","clone_url":"https://github.com/akka/akka.git","svn_url":"https://github.com/akka/akka","homepage":"http://akka.io","size":234957,"stargazers_count":5692,"watchers_count":5692,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1784,"mirror_url":null,"open_issues_count":682,"forks":1784,"open_issues":682,"watchers":5692,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/akka/akka/pulls/20853"},"html":{"href":"https://github.com/akka/akka/pull/20853"},"issue":{"href":"https://api.github.com/repos/akka/akka/issues/20853"},"comments":{"href":"https://api.github.com/repos/akka/akka/issues/20853/comments"},"review_comments":{"href":"https://api.github.com/repos/akka/akka/pulls/20853/comments"},"review_comment":{"href":"https://api.github.com/repos/akka/akka/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/akka/akka/pulls/20853/commits"},"statuses":{"href":"https://api.github.com/repos/akka/akka/statuses/73f2b265072ea569a4bb89a1223500464f7023f2"}}}}
{"actor":{"display_login":"pjazdzewski1990"}}