{"action":"created","issue":{"url":"https://api.github.com/repos/yesodweb/yesod/issues/1111","labels_url":"https://api.github.com/repos/yesodweb/yesod/issues/1111/labels{/name}","comments_url":"https://api.github.com/repos/yesodweb/yesod/issues/1111/comments","events_url":"https://api.github.com/repos/yesodweb/yesod/issues/1111/events","html_url":"https://github.com/yesodweb/yesod/issues/1111","id":119964324,"number":1111,"title":"support for serving xhtml","user":{"login":"vandenoever","id":608417,"avatar_url":"https://avatars.githubusercontent.com/u/608417?v=3","gravatar_id":"","url":"https://api.github.com/users/vandenoever","html_url":"https://github.com/vandenoever","followers_url":"https://api.github.com/users/vandenoever/followers","following_url":"https://api.github.com/users/vandenoever/following{/other_user}","gists_url":"https://api.github.com/users/vandenoever/gists{/gist_id}","starred_url":"https://api.github.com/users/vandenoever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vandenoever/subscriptions","organizations_url":"https://api.github.com/users/vandenoever/orgs","repos_url":"https://api.github.com/users/vandenoever/repos","events_url":"https://api.github.com/users/vandenoever/events{/privacy}","received_events_url":"https://api.github.com/users/vandenoever/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-02T15:19:51Z","updated_at":"2015-12-03T08:45:03Z","closed_at":null,"body":"It would be nice if Yesod could server XHTML with mime-type application/xhtml+xml.\r\nThis is a requirement in certain environments where HTML is not permitted.\r\n"},"comment":{"url":"https://api.github.com/repos/yesodweb/yesod/issues/comments/161553777","html_url":"https://github.com/yesodweb/yesod/issues/1111#issuecomment-161553777","issue_url":"https://api.github.com/repos/yesodweb/yesod/issues/1111","id":161553777,"user":{"login":"vandenoever","id":608417,"avatar_url":"https://avatars.githubusercontent.com/u/608417?v=3","gravatar_id":"","url":"https://api.github.com/users/vandenoever","html_url":"https://github.com/vandenoever","followers_url":"https://api.github.com/users/vandenoever/followers","following_url":"https://api.github.com/users/vandenoever/following{/other_user}","gists_url":"https://api.github.com/users/vandenoever/gists{/gist_id}","starred_url":"https://api.github.com/users/vandenoever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vandenoever/subscriptions","organizations_url":"https://api.github.com/users/vandenoever/orgs","repos_url":"https://api.github.com/users/vandenoever/repos","events_url":"https://api.github.com/users/vandenoever/events{/privacy}","received_events_url":"https://api.github.com/users/vandenoever/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T08:45:03Z","updated_at":"2015-12-03T08:45:03Z","body":"I'd like to know how I can get yesod to sent application/xhtml+xml when from e.g. \r\n  getHomeR :: Handler Html\r\nI grepped the code for that mimetype but did not find it. It would be nice to set it as the mimetype for Handler Html in the entire server."}}