{"action":"created","issue":{"url":"https://api.github.com/repos/zeit/next.js/issues/3194","repository_url":"https://api.github.com/repos/zeit/next.js","labels_url":"https://api.github.com/repos/zeit/next.js/issues/3194/labels{/name}","comments_url":"https://api.github.com/repos/zeit/next.js/issues/3194/comments","events_url":"https://api.github.com/repos/zeit/next.js/issues/3194/events","html_url":"https://github.com/zeit/next.js/issues/3194","id":269110353,"number":3194,"title":"Server does not set 'charset` in 'Content-Type' response header","user":{"login":"liweinan0423","id":646159,"avatar_url":"https://avatars1.githubusercontent.com/u/646159?v=4","gravatar_id":"","url":"https://api.github.com/users/liweinan0423","html_url":"https://github.com/liweinan0423","followers_url":"https://api.github.com/users/liweinan0423/followers","following_url":"https://api.github.com/users/liweinan0423/following{/other_user}","gists_url":"https://api.github.com/users/liweinan0423/gists{/gist_id}","starred_url":"https://api.github.com/users/liweinan0423/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liweinan0423/subscriptions","organizations_url":"https://api.github.com/users/liweinan0423/orgs","repos_url":"https://api.github.com/users/liweinan0423/repos","events_url":"https://api.github.com/users/liweinan0423/events{/privacy}","received_events_url":"https://api.github.com/users/liweinan0423/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-27T13:38:51Z","updated_at":"2018-05-10T17:46:39Z","closed_at":"2017-11-05T19:17:03Z","author_association":"CONTRIBUTOR","body":"The server response doesn't set `charset` in `content-type` header. This might be a limitation that some website needs some some special encoding.\r\n\r\n- [x] I have searched the [issues](https://github.com/zeit/next.js/issues) of this repository and believe that this is not a duplicate.\r\n\r\n## Expected Behavior\r\nBy default `content-type` response header should be `text/html; charset=utf-8`\r\nAlso there should also be an option to override the default charset in `next.config.js`\r\n```js\r\n// next.config.js\r\nmodule.exports = {\r\n  encoding: 'iso-8859-1'\r\n}\r\n```\r\n## Current Behavior\r\nThe `content-type` is hard-coded as `text/html`\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/zeit/next.js/issues/comments/388129985","html_url":"https://github.com/zeit/next.js/issues/3194#issuecomment-388129985","issue_url":"https://api.github.com/repos/zeit/next.js/issues/3194","id":388129985,"user":{"login":"lock[bot]","id":33595554,"avatar_url":"https://avatars1.githubusercontent.com/in/6672?v=4","gravatar_id":"","url":"https://api.github.com/users/lock%5Bbot%5D","html_url":"https://github.com/apps/lock","followers_url":"https://api.github.com/users/lock%5Bbot%5D/followers","following_url":"https://api.github.com/users/lock%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/lock%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/lock%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lock%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/lock%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/lock%5Bbot%5D/repos","events_url":"https://api.github.com/users/lock%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/lock%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-05-10T17:46:39Z","updated_at":"2018-05-10T17:46:39Z","author_association":"NONE","body":"This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.\n"}}
{"actor":{"display_login":"lock"}}