{"action":"created","issue":{"url":"https://api.github.com/repos/playframework/playframework/issues/6139","repository_url":"https://api.github.com/repos/playframework/playframework","labels_url":"https://api.github.com/repos/playframework/playframework/issues/6139/labels{/name}","comments_url":"https://api.github.com/repos/playframework/playframework/issues/6139/comments","events_url":"https://api.github.com/repos/playframework/playframework/issues/6139/events","html_url":"https://github.com/playframework/playframework/issues/6139","id":153443212,"number":6139,"title":"p.a.h.MediaRange -  - Unable to parse part of media range header '*/*'","user":{"login":"domdorn","id":100349,"avatar_url":"https://avatars.githubusercontent.com/u/100349?v=3","gravatar_id":"","url":"https://api.github.com/users/domdorn","html_url":"https://github.com/domdorn","followers_url":"https://api.github.com/users/domdorn/followers","following_url":"https://api.github.com/users/domdorn/following{/other_user}","gists_url":"https://api.github.com/users/domdorn/gists{/gist_id}","starred_url":"https://api.github.com/users/domdorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domdorn/subscriptions","organizations_url":"https://api.github.com/users/domdorn/orgs","repos_url":"https://api.github.com/users/domdorn/repos","events_url":"https://api.github.com/users/domdorn/events{/privacy}","received_events_url":"https://api.github.com/users/domdorn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-06T12:45:39Z","updated_at":"2016-05-17T19:02:57Z","closed_at":null,"body":"### Play Version (2.4.x / etc)\r\n2.4.6\r\n\r\n### API (Scala / Java / Neither / Both)\r\nBoth\r\n\r\n### Operating System (Ubuntu 15.10 / MacOS 10.10 / Windows 10)\r\nMacOS 10.10.5\r\n\r\n### JDK (Oracle 1.8.0_72, OpenJDK 1.8.x, Azul Zing)\r\n\r\njava version \"1.8.0_60\"\r\nJava(TM) SE Runtime Environment (build 1.8.0_60-b27)\r\nJava HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)\r\n\r\n### Expected Behavior\r\n\r\nPlease describe the expected behavior of the issue, starting from the first action.\r\n\r\n1. CURL request to http://localhost:9000/ \r\n2. Response is returned, no logs are created\r\n\r\n### Actual Behavior\r\n\r\n1. curl http://localhost:9000/\r\n2. Response is created, a log entry is created as well:\r\n\"[debug] p.a.h.MediaRange -  - Unable to parse part of media range header '*/*'\"\r\n\r\nPlay should be able to handle a standard CURL request without creating log entries. \r\n\r\n### Reproducible Test Case\r\ncurl http://localhost:9000/"},"comment":{"url":"https://api.github.com/repos/playframework/playframework/issues/comments/219820264","html_url":"https://github.com/playframework/playframework/issues/6139#issuecomment-219820264","issue_url":"https://api.github.com/repos/playframework/playframework/issues/6139","id":219820264,"user":{"login":"gmethvin","id":171663,"avatar_url":"https://avatars.githubusercontent.com/u/171663?v=3","gravatar_id":"","url":"https://api.github.com/users/gmethvin","html_url":"https://github.com/gmethvin","followers_url":"https://api.github.com/users/gmethvin/followers","following_url":"https://api.github.com/users/gmethvin/following{/other_user}","gists_url":"https://api.github.com/users/gmethvin/gists{/gist_id}","starred_url":"https://api.github.com/users/gmethvin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmethvin/subscriptions","organizations_url":"https://api.github.com/users/gmethvin/orgs","repos_url":"https://api.github.com/users/gmethvin/repos","events_url":"https://api.github.com/users/gmethvin/events{/privacy}","received_events_url":"https://api.github.com/users/gmethvin/received_events","type":"User","site_admin":false},"created_at":"2016-05-17T19:02:57Z","updated_at":"2016-05-17T19:02:57Z","body":"Actually I think this is the \"bug\" discussed in [this comment on #2406](https://github.com/playframework/playframework/issues/2406#issuecomment-35862341):\r\n> Whether that log message is printed or not is guarded by an if statement, and it looks like the predicate should be negated.\r\n\r\n[This is the relevant code.](https://github.com/playframework/playframework/blob/2.5.3/framework/src/play/src/main/scala/play/api/http/MediaRange.scala#L103)"}}