{"action":"created","issue":{"url":"https://api.github.com/repos/ceylon/ceylon-sdk/issues/440","labels_url":"https://api.github.com/repos/ceylon/ceylon-sdk/issues/440/labels{/name}","comments_url":"https://api.github.com/repos/ceylon/ceylon-sdk/issues/440/comments","events_url":"https://api.github.com/repos/ceylon/ceylon-sdk/issues/440/events","html_url":"https://github.com/ceylon/ceylon-sdk/issues/440","id":112214194,"number":440,"title":"serveStaticFile() truncates the file content","user":{"login":"gavinking","id":579974,"avatar_url":"https://avatars.githubusercontent.com/u/579974?v=3","gravatar_id":"","url":"https://api.github.com/users/gavinking","html_url":"https://github.com/gavinking","followers_url":"https://api.github.com/users/gavinking/followers","following_url":"https://api.github.com/users/gavinking/following{/other_user}","gists_url":"https://api.github.com/users/gavinking/gists{/gist_id}","starred_url":"https://api.github.com/users/gavinking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavinking/subscriptions","organizations_url":"https://api.github.com/users/gavinking/orgs","repos_url":"https://api.github.com/users/gavinking/repos","events_url":"https://api.github.com/users/gavinking/events{/privacy}","received_events_url":"https://api.github.com/users/gavinking/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ceylon/ceylon-sdk/labels/BUG","name":"BUG","color":"fc2929"},{"url":"https://api.github.com/repos/ceylon/ceylon-sdk/labels/high%20priority","name":"high priority","color":"fbca04"},{"url":"https://api.github.com/repos/ceylon/ceylon-sdk/labels/IN%20PROGRESS","name":"IN PROGRESS","color":"02d7e1"},{"url":"https://api.github.com/repos/ceylon/ceylon-sdk/labels/net","name":"net","color":"444444"}],"state":"open","locked":false,"assignee":{"login":"FroMage","id":179265,"avatar_url":"https://avatars.githubusercontent.com/u/179265?v=3","gravatar_id":"","url":"https://api.github.com/users/FroMage","html_url":"https://github.com/FroMage","followers_url":"https://api.github.com/users/FroMage/followers","following_url":"https://api.github.com/users/FroMage/following{/other_user}","gists_url":"https://api.github.com/users/FroMage/gists{/gist_id}","starred_url":"https://api.github.com/users/FroMage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FroMage/subscriptions","organizations_url":"https://api.github.com/users/FroMage/orgs","repos_url":"https://api.github.com/users/FroMage/repos","events_url":"https://api.github.com/users/FroMage/events{/privacy}","received_events_url":"https://api.github.com/users/FroMage/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/ceylon/ceylon-sdk/milestones/8","html_url":"https://github.com/ceylon/ceylon-sdk/milestones/1.2","labels_url":"https://api.github.com/repos/ceylon/ceylon-sdk/milestones/8/labels","id":807572,"number":8,"title":"1.2","description":"","creator":{"login":"gavinking","id":579974,"avatar_url":"https://avatars.githubusercontent.com/u/579974?v=3","gravatar_id":"","url":"https://api.github.com/users/gavinking","html_url":"https://github.com/gavinking","followers_url":"https://api.github.com/users/gavinking/followers","following_url":"https://api.github.com/users/gavinking/following{/other_user}","gists_url":"https://api.github.com/users/gavinking/gists{/gist_id}","starred_url":"https://api.github.com/users/gavinking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavinking/subscriptions","organizations_url":"https://api.github.com/users/gavinking/orgs","repos_url":"https://api.github.com/users/gavinking/repos","events_url":"https://api.github.com/users/gavinking/events{/privacy}","received_events_url":"https://api.github.com/users/gavinking/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":73,"state":"open","created_at":"2014-09-30T00:35:53Z","updated_at":"2015-10-22T15:35:22Z","due_on":"2014-10-28T23:00:00Z","closed_at":null},"comments":45,"created_at":"2015-10-19T19:24:42Z","updated_at":"2015-10-23T14:30:04Z","closed_at":null,"body":"The `serveStaticFile()` method of `ceylon.net.http.server` sometimes sets an incorrect `Content-Length` header. Perhaps it is something to do with character sets? Not sure. \r\n\r\nTo see this happen, hit;\r\n\r\n<http://localhost:8080/ceylon-ide/scripts/modules/ceylon/language/1.2.0/ceylon.language-1.2.0.js>\r\n\r\nAfter running the `83_ceylonnet` branch of `ceylon-web-ide-backend`."},"comment":{"url":"https://api.github.com/repos/ceylon/ceylon-sdk/issues/comments/150590358","html_url":"https://github.com/ceylon/ceylon-sdk/issues/440#issuecomment-150590358","issue_url":"https://api.github.com/repos/ceylon/ceylon-sdk/issues/440","id":150590358,"user":{"login":"FroMage","id":179265,"avatar_url":"https://avatars.githubusercontent.com/u/179265?v=3","gravatar_id":"","url":"https://api.github.com/users/FroMage","html_url":"https://github.com/FroMage","followers_url":"https://api.github.com/users/FroMage/followers","following_url":"https://api.github.com/users/FroMage/following{/other_user}","gists_url":"https://api.github.com/users/FroMage/gists{/gist_id}","starred_url":"https://api.github.com/users/FroMage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FroMage/subscriptions","organizations_url":"https://api.github.com/users/FroMage/orgs","repos_url":"https://api.github.com/users/FroMage/repos","events_url":"https://api.github.com/users/FroMage/events{/privacy}","received_events_url":"https://api.github.com/users/FroMage/received_events","type":"User","site_admin":false},"created_at":"2015-10-23T14:30:04Z","updated_at":"2015-10-23T14:30:04Z","body":"OK I read the docs now, please pull and try again."}}