{"action":"created","issue":{"url":"https://api.github.com/repos/akka/akka-http/issues/1992","repository_url":"https://api.github.com/repos/akka/akka-http","labels_url":"https://api.github.com/repos/akka/akka-http/issues/1992/labels{/name}","comments_url":"https://api.github.com/repos/akka/akka-http/issues/1992/comments","events_url":"https://api.github.com/repos/akka/akka-http/issues/1992/events","html_url":"https://github.com/akka/akka-http/issues/1992","id":315263434,"number":1992,"title":"Send 426 response if protocol isn't supported (HTTP <2)","user":{"login":"richdougherty","id":14750,"avatar_url":"https://avatars2.githubusercontent.com/u/14750?v=4","gravatar_id":"","url":"https://api.github.com/users/richdougherty","html_url":"https://github.com/richdougherty","followers_url":"https://api.github.com/users/richdougherty/followers","following_url":"https://api.github.com/users/richdougherty/following{/other_user}","gists_url":"https://api.github.com/users/richdougherty/gists{/gist_id}","starred_url":"https://api.github.com/users/richdougherty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richdougherty/subscriptions","organizations_url":"https://api.github.com/users/richdougherty/orgs","repos_url":"https://api.github.com/users/richdougherty/repos","events_url":"https://api.github.com/users/richdougherty/events{/privacy}","received_events_url":"https://api.github.com/users/richdougherty/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-17T22:24:18Z","updated_at":"2018-04-23T02:36:40Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"As mentioned in a related Play PR (https://github.com/playframework/playframework/pull/8357#issuecomment-380259722) we need to ensure that we have some sort of handling in place for HTTP 1.x requests. My suggestion would be to send a `426 Upgrade Required` response if we receive an HTTP 1.x request.\r\n\r\nhttps://developer.mozilla.org/en-US/docs/Web/HTTP/Status/426"},"comment":{"url":"https://api.github.com/repos/akka/akka-http/issues/comments/383438151","html_url":"https://github.com/akka/akka-http/issues/1992#issuecomment-383438151","issue_url":"https://api.github.com/repos/akka/akka-http/issues/1992","id":383438151,"user":{"login":"ktoso","id":120979,"avatar_url":"https://avatars1.githubusercontent.com/u/120979?v=4","gravatar_id":"","url":"https://api.github.com/users/ktoso","html_url":"https://github.com/ktoso","followers_url":"https://api.github.com/users/ktoso/followers","following_url":"https://api.github.com/users/ktoso/following{/other_user}","gists_url":"https://api.github.com/users/ktoso/gists{/gist_id}","starred_url":"https://api.github.com/users/ktoso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktoso/subscriptions","organizations_url":"https://api.github.com/users/ktoso/orgs","repos_url":"https://api.github.com/users/ktoso/repos","events_url":"https://api.github.com/users/ktoso/events{/privacy}","received_events_url":"https://api.github.com/users/ktoso/received_events","type":"User","site_admin":false},"created_at":"2018-04-23T02:36:40Z","updated_at":"2018-04-23T02:36:40Z","author_association":"OWNER","body":"I think the ticket is valid in both places.\r\nWe want to have a \"h2 only\" mode, in which case akka-http itself would also be in position to reply with an 426"}}
{"actor":{"display_login":"ktoso"}}