{"action":"created","comment":{"url":"https://api.github.com/repos/akka/akka-http/pulls/comments/218820693","pull_request_review_id":156838434,"id":218820693,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxODgyMDY5Mw==","diff_hunk":"@@ -111,10 +110,39 @@ final case class InvalidOriginRejection(allowedOrigins: immutable.Seq[SHttpOrigi\n  * Rejection created by unmarshallers.\n  * Signals that the request was rejected because the requests content-type is unsupported.\n  */\n-final case class UnsupportedRequestContentTypeRejection(supported: immutable.Set[ContentTypeRange])\n-  extends jserver.UnsupportedRequestContentTypeRejection with Rejection {\n+final case class UnsupportedRequestContentTypeRejection(\n+  supported:   Set[ContentTypeRange],\n+  contentType: Option[ContentType]   = None)\n+  extends jserver.UnsupportedRequestContentTypeRejection\n+  with Rejection {\n+\n   override def getSupported: java.util.Set[model.ContentTypeRange] =\n     scala.collection.mutable.Set(supported.map(_.asJava).toVector: _*).asJava // TODO optimise\n+\n+  @deprecated(\"for binary compatibility\")","path":"akka-http/src/main/scala/akka/http/scaladsl/server/Rejection.scala","position":44,"original_position":44,"commit_id":"20b9523aa2f6647cc8ca771160f77c69f700f62f","original_commit_id":"20b9523aa2f6647cc8ca771160f77c69f700f62f","user":{"login":"johanandren","id":666915,"node_id":"MDQ6VXNlcjY2NjkxNQ==","avatar_url":"https://avatars3.githubusercontent.com/u/666915?v=4","gravatar_id":"","url":"https://api.github.com/users/johanandren","html_url":"https://github.com/johanandren","followers_url":"https://api.github.com/users/johanandren/followers","following_url":"https://api.github.com/users/johanandren/following{/other_user}","gists_url":"https://api.github.com/users/johanandren/gists{/gist_id}","starred_url":"https://api.github.com/users/johanandren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johanandren/subscriptions","organizations_url":"https://api.github.com/users/johanandren/orgs","repos_url":"https://api.github.com/users/johanandren/repos","events_url":"https://api.github.com/users/johanandren/events{/privacy}","received_events_url":"https://api.github.com/users/johanandren/received_events","type":"User","site_admin":false},"body":"All these should have a version as well, so `@deprecated(\"Something something\", since = \"10.1.6\")`, they should also rather mention what to use instead. So, in this case \"Use the two parameter constructor instead\".\r\n\r\nFor the copy I guess the alternative now is to create a new object manually, so same there.","created_at":"2018-09-19T14:14:33Z","updated_at":"2018-09-19T14:37:40Z","html_url":"https://github.com/akka/akka-http/pull/1713#discussion_r218820693","pull_request_url":"https://api.github.com/repos/akka/akka-http/pulls/1713","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/akka/akka-http/pulls/comments/218820693"},"html":{"href":"https://github.com/akka/akka-http/pull/1713#discussion_r218820693"},"pull_request":{"href":"https://api.github.com/repos/akka/akka-http/pulls/1713"}}},"pull_request":{"url":"https://api.github.com/repos/akka/akka-http/pulls/1713","id":160025911,"node_id":"MDExOlB1bGxSZXF1ZXN0MTYwMDI1OTEx","html_url":"https://github.com/akka/akka-http/pull/1713","diff_url":"https://github.com/akka/akka-http/pull/1713.diff","patch_url":"https://github.com/akka/akka-http/pull/1713.patch","issue_url":"https://api.github.com/repos/akka/akka-http/issues/1713","number":1713,"state":"open","locked":false,"title":"Added logging unsupported content type","user":{"login":"oleg-smith","id":6909571,"node_id":"MDQ6VXNlcjY5MDk1NzE=","avatar_url":"https://avatars2.githubusercontent.com/u/6909571?v=4","gravatar_id":"","url":"https://api.github.com/users/oleg-smith","html_url":"https://github.com/oleg-smith","followers_url":"https://api.github.com/users/oleg-smith/followers","following_url":"https://api.github.com/users/oleg-smith/following{/other_user}","gists_url":"https://api.github.com/users/oleg-smith/gists{/gist_id}","starred_url":"https://api.github.com/users/oleg-smith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oleg-smith/subscriptions","organizations_url":"https://api.github.com/users/oleg-smith/orgs","repos_url":"https://api.github.com/users/oleg-smith/repos","events_url":"https://api.github.com/users/oleg-smith/events{/privacy}","received_events_url":"https://api.github.com/users/oleg-smith/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-12-25T05:49:17Z","updated_at":"2018-09-19T14:37:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5960b58857c22ab67976465acd7a9b13c72733ae","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":436859583,"node_id":"MDU6TGFiZWw0MzY4NTk1ODM=","url":"https://api.github.com/repos/akka/akka-http/labels/tested","name":"tested","color":"d7e102","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/akka/akka-http/pulls/1713/commits","review_comments_url":"https://api.github.com/repos/akka/akka-http/pulls/1713/comments","review_comment_url":"https://api.github.com/repos/akka/akka-http/pulls/comments{/number}","comments_url":"https://api.github.com/repos/akka/akka-http/issues/1713/comments","statuses_url":"https://api.github.com/repos/akka/akka-http/statuses/20b9523aa2f6647cc8ca771160f77c69f700f62f","head":{"label":"oleg-smith:w1691","ref":"w1691","sha":"20b9523aa2f6647cc8ca771160f77c69f700f62f","user":{"login":"oleg-smith","id":6909571,"node_id":"MDQ6VXNlcjY5MDk1NzE=","avatar_url":"https://avatars2.githubusercontent.com/u/6909571?v=4","gravatar_id":"","url":"https://api.github.com/users/oleg-smith","html_url":"https://github.com/oleg-smith","followers_url":"https://api.github.com/users/oleg-smith/followers","following_url":"https://api.github.com/users/oleg-smith/following{/other_user}","gists_url":"https://api.github.com/users/oleg-smith/gists{/gist_id}","starred_url":"https://api.github.com/users/oleg-smith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oleg-smith/subscriptions","organizations_url":"https://api.github.com/users/oleg-smith/orgs","repos_url":"https://api.github.com/users/oleg-smith/repos","events_url":"https://api.github.com/users/oleg-smith/events{/privacy}","received_events_url":"https://api.github.com/users/oleg-smith/received_events","type":"User","site_admin":false},"repo":{"id":115120302,"node_id":"MDEwOlJlcG9zaXRvcnkxMTUxMjAzMDI=","name":"akka-http","full_name":"oleg-smith/akka-http","private":false,"owner":{"login":"oleg-smith","id":6909571,"node_id":"MDQ6VXNlcjY5MDk1NzE=","avatar_url":"https://avatars2.githubusercontent.com/u/6909571?v=4","gravatar_id":"","url":"https://api.github.com/users/oleg-smith","html_url":"https://github.com/oleg-smith","followers_url":"https://api.github.com/users/oleg-smith/followers","following_url":"https://api.github.com/users/oleg-smith/following{/other_user}","gists_url":"https://api.github.com/users/oleg-smith/gists{/gist_id}","starred_url":"https://api.github.com/users/oleg-smith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oleg-smith/subscriptions","organizations_url":"https://api.github.com/users/oleg-smith/orgs","repos_url":"https://api.github.com/users/oleg-smith/repos","events_url":"https://api.github.com/users/oleg-smith/events{/privacy}","received_events_url":"https://api.github.com/users/oleg-smith/received_events","type":"User","site_admin":false},"html_url":"https://github.com/oleg-smith/akka-http","description":"The Streaming-first HTTP server/module of Akka","fork":true,"url":"https://api.github.com/repos/oleg-smith/akka-http","forks_url":"https://api.github.com/repos/oleg-smith/akka-http/forks","keys_url":"https://api.github.com/repos/oleg-smith/akka-http/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oleg-smith/akka-http/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oleg-smith/akka-http/teams","hooks_url":"https://api.github.com/repos/oleg-smith/akka-http/hooks","issue_events_url":"https://api.github.com/repos/oleg-smith/akka-http/issues/events{/number}","events_url":"https://api.github.com/repos/oleg-smith/akka-http/events","assignees_url":"https://api.github.com/repos/oleg-smith/akka-http/assignees{/user}","branches_url":"https://api.github.com/repos/oleg-smith/akka-http/branches{/branch}","tags_url":"https://api.github.com/repos/oleg-smith/akka-http/tags","blobs_url":"https://api.github.com/repos/oleg-smith/akka-http/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oleg-smith/akka-http/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oleg-smith/akka-http/git/refs{/sha}","trees_url":"https://api.github.com/repos/oleg-smith/akka-http/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oleg-smith/akka-http/statuses/{sha}","languages_url":"https://api.github.com/repos/oleg-smith/akka-http/languages","stargazers_url":"https://api.github.com/repos/oleg-smith/akka-http/stargazers","contributors_url":"https://api.github.com/repos/oleg-smith/akka-http/contributors","subscribers_url":"https://api.github.com/repos/oleg-smith/akka-http/subscribers","subscription_url":"https://api.github.com/repos/oleg-smith/akka-http/subscription","commits_url":"https://api.github.com/repos/oleg-smith/akka-http/commits{/sha}","git_commits_url":"https://api.github.com/repos/oleg-smith/akka-http/git/commits{/sha}","comments_url":"https://api.github.com/repos/oleg-smith/akka-http/comments{/number}","issue_comment_url":"https://api.github.com/repos/oleg-smith/akka-http/issues/comments{/number}","contents_url":"https://api.github.com/repos/oleg-smith/akka-http/contents/{+path}","compare_url":"https://api.github.com/repos/oleg-smith/akka-http/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oleg-smith/akka-http/merges","archive_url":"https://api.github.com/repos/oleg-smith/akka-http/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oleg-smith/akka-http/downloads","issues_url":"https://api.github.com/repos/oleg-smith/akka-http/issues{/number}","pulls_url":"https://api.github.com/repos/oleg-smith/akka-http/pulls{/number}","milestones_url":"https://api.github.com/repos/oleg-smith/akka-http/milestones{/number}","notifications_url":"https://api.github.com/repos/oleg-smith/akka-http/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oleg-smith/akka-http/labels{/name}","releases_url":"https://api.github.com/repos/oleg-smith/akka-http/releases{/id}","deployments_url":"https://api.github.com/repos/oleg-smith/akka-http/deployments","created_at":"2017-12-22T14:02:36Z","updated_at":"2017-12-22T14:02:40Z","pushed_at":"2018-09-16T15:12:57Z","git_url":"git://github.com/oleg-smith/akka-http.git","ssh_url":"git@github.com:oleg-smith/akka-http.git","clone_url":"https://github.com/oleg-smith/akka-http.git","svn_url":"https://github.com/oleg-smith/akka-http","homepage":"http://akka.io","size":10299,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"akka:master","ref":"master","sha":"fffca8de9f6a6237788021a2e3fa49a95463a8c6","user":{"login":"akka","id":1496237,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0OTYyMzc=","avatar_url":"https://avatars2.githubusercontent.com/u/1496237?v=4","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":66077955,"node_id":"MDEwOlJlcG9zaXRvcnk2NjA3Nzk1NQ==","name":"akka-http","full_name":"akka/akka-http","private":false,"owner":{"login":"akka","id":1496237,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0OTYyMzc=","avatar_url":"https://avatars2.githubusercontent.com/u/1496237?v=4","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},"html_url":"https://github.com/akka/akka-http","description":"The Streaming-first HTTP server/module of Akka","fork":false,"url":"https://api.github.com/repos/akka/akka-http","forks_url":"https://api.github.com/repos/akka/akka-http/forks","keys_url":"https://api.github.com/repos/akka/akka-http/keys{/key_id}","collaborators_url":"https://api.github.com/repos/akka/akka-http/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/akka/akka-http/teams","hooks_url":"https://api.github.com/repos/akka/akka-http/hooks","issue_events_url":"https://api.github.com/repos/akka/akka-http/issues/events{/number}","events_url":"https://api.github.com/repos/akka/akka-http/events","assignees_url":"https://api.github.com/repos/akka/akka-http/assignees{/user}","branches_url":"https://api.github.com/repos/akka/akka-http/branches{/branch}","tags_url":"https://api.github.com/repos/akka/akka-http/tags","blobs_url":"https://api.github.com/repos/akka/akka-http/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/akka/akka-http/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/akka/akka-http/git/refs{/sha}","trees_url":"https://api.github.com/repos/akka/akka-http/git/trees{/sha}","statuses_url":"https://api.github.com/repos/akka/akka-http/statuses/{sha}","languages_url":"https://api.github.com/repos/akka/akka-http/languages","stargazers_url":"https://api.github.com/repos/akka/akka-http/stargazers","contributors_url":"https://api.github.com/repos/akka/akka-http/contributors","subscribers_url":"https://api.github.com/repos/akka/akka-http/subscribers","subscription_url":"https://api.github.com/repos/akka/akka-http/subscription","commits_url":"https://api.github.com/repos/akka/akka-http/commits{/sha}","git_commits_url":"https://api.github.com/repos/akka/akka-http/git/commits{/sha}","comments_url":"https://api.github.com/repos/akka/akka-http/comments{/number}","issue_comment_url":"https://api.github.com/repos/akka/akka-http/issues/comments{/number}","contents_url":"https://api.github.com/repos/akka/akka-http/contents/{+path}","compare_url":"https://api.github.com/repos/akka/akka-http/compare/{base}...{head}","merges_url":"https://api.github.com/repos/akka/akka-http/merges","archive_url":"https://api.github.com/repos/akka/akka-http/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/akka/akka-http/downloads","issues_url":"https://api.github.com/repos/akka/akka-http/issues{/number}","pulls_url":"https://api.github.com/repos/akka/akka-http/pulls{/number}","milestones_url":"https://api.github.com/repos/akka/akka-http/milestones{/number}","notifications_url":"https://api.github.com/repos/akka/akka-http/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/akka/akka-http/labels{/name}","releases_url":"https://api.github.com/repos/akka/akka-http/releases{/id}","deployments_url":"https://api.github.com/repos/akka/akka-http/deployments","created_at":"2016-08-19T11:33:36Z","updated_at":"2018-09-19T14:00:54Z","pushed_at":"2018-09-19T09:06:05Z","git_url":"git://github.com/akka/akka-http.git","ssh_url":"git@github.com:akka/akka-http.git","clone_url":"https://github.com/akka/akka-http.git","svn_url":"https://github.com/akka/akka-http","homepage":"http://akka.io","size":10469,"stargazers_count":772,"watchers_count":772,"language":"Scala","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":362,"mirror_url":null,"archived":false,"open_issues_count":490,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":362,"open_issues":490,"watchers":772,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/akka/akka-http/pulls/1713"},"html":{"href":"https://github.com/akka/akka-http/pull/1713"},"issue":{"href":"https://api.github.com/repos/akka/akka-http/issues/1713"},"comments":{"href":"https://api.github.com/repos/akka/akka-http/issues/1713/comments"},"review_comments":{"href":"https://api.github.com/repos/akka/akka-http/pulls/1713/comments"},"review_comment":{"href":"https://api.github.com/repos/akka/akka-http/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/akka/akka-http/pulls/1713/commits"},"statuses":{"href":"https://api.github.com/repos/akka/akka-http/statuses/20b9523aa2f6647cc8ca771160f77c69f700f62f"}},"author_association":"NONE"}}
{"actor":{"display_login":"johanandren"}}