{"action":"created","issue":{"url":"https://api.github.com/repos/playframework/playframework/issues/5835","repository_url":"https://api.github.com/repos/playframework/playframework","labels_url":"https://api.github.com/repos/playframework/playframework/issues/5835/labels{/name}","comments_url":"https://api.github.com/repos/playframework/playframework/issues/5835/comments","events_url":"https://api.github.com/repos/playframework/playframework/issues/5835/events","html_url":"https://github.com/playframework/playframework/issues/5835","id":139462949,"number":5835,"title":"[play-scala 2.5.0] ERR_CONTENT_LENGTH_MISMATCH error occurs  on Heroku when the response is greater than 85kb","user":{"login":"joymufeng","id":2126539,"avatar_url":"https://avatars.githubusercontent.com/u/2126539?v=3","gravatar_id":"","url":"https://api.github.com/users/joymufeng","html_url":"https://github.com/joymufeng","followers_url":"https://api.github.com/users/joymufeng/followers","following_url":"https://api.github.com/users/joymufeng/following{/other_user}","gists_url":"https://api.github.com/users/joymufeng/gists{/gist_id}","starred_url":"https://api.github.com/users/joymufeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joymufeng/subscriptions","organizations_url":"https://api.github.com/users/joymufeng/orgs","repos_url":"https://api.github.com/users/joymufeng/repos","events_url":"https://api.github.com/users/joymufeng/events{/privacy}","received_events_url":"https://api.github.com/users/joymufeng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-09T03:10:14Z","updated_at":"2016-03-11T06:00:52Z","closed_at":null,"body":"The demo project source code is here [https://github.com/joymufeng/play250](https://github.com/joymufeng/play250). And the demo application on Heroku is:\r\n```\r\nhttp://play250.herokuapp.com/getResponse?len=99000 \r\n```\r\nYou can change the len parameter to control the response length. If the response length is lower than 85kb, it works well, otherwise ERR_CONTENT_LENGTH_MISMATCH  error occurs in the browser."},"comment":{"url":"https://api.github.com/repos/playframework/playframework/issues/comments/195208744","html_url":"https://github.com/playframework/playframework/issues/5835#issuecomment-195208744","issue_url":"https://api.github.com/repos/playframework/playframework/issues/5835","id":195208744,"user":{"login":"jroper","id":105833,"avatar_url":"https://avatars.githubusercontent.com/u/105833?v=3","gravatar_id":"","url":"https://api.github.com/users/jroper","html_url":"https://github.com/jroper","followers_url":"https://api.github.com/users/jroper/followers","following_url":"https://api.github.com/users/jroper/following{/other_user}","gists_url":"https://api.github.com/users/jroper/gists{/gist_id}","starred_url":"https://api.github.com/users/jroper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jroper/subscriptions","organizations_url":"https://api.github.com/users/jroper/orgs","repos_url":"https://api.github.com/users/jroper/repos","events_url":"https://api.github.com/users/jroper/events{/privacy}","received_events_url":"https://api.github.com/users/jroper/received_events","type":"User","site_admin":false},"created_at":"2016-03-11T06:00:52Z","updated_at":"2016-03-11T06:00:52Z","body":"You should raise an issue with heroku.  It works fine for me, Play is returning exactly the right number of bytes.  Have you been able to reproduce this anywhere other than behind the Heroku proxy?  If you can't, then the issue is not likely to be in Play, it's likely to be in the Heroku proxy."}}