{"action":"created","issue":{"url":"https://api.github.com/repos/NanoHttpd/nanohttpd/issues/203","labels_url":"https://api.github.com/repos/NanoHttpd/nanohttpd/issues/203/labels{/name}","comments_url":"https://api.github.com/repos/NanoHttpd/nanohttpd/issues/203/comments","events_url":"https://api.github.com/repos/NanoHttpd/nanohttpd/issues/203/events","html_url":"https://github.com/NanoHttpd/nanohttpd/pull/203","id":92233171,"number":203,"title":"Added Mime type for HLS","user":{"login":"luctrudeau","id":33099,"avatar_url":"https://avatars.githubusercontent.com/u/33099?v=3","gravatar_id":"","url":"https://api.github.com/users/luctrudeau","html_url":"https://github.com/luctrudeau","followers_url":"https://api.github.com/users/luctrudeau/followers","following_url":"https://api.github.com/users/luctrudeau/following{/other_user}","gists_url":"https://api.github.com/users/luctrudeau/gists{/gist_id}","starred_url":"https://api.github.com/users/luctrudeau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luctrudeau/subscriptions","organizations_url":"https://api.github.com/users/luctrudeau/orgs","repos_url":"https://api.github.com/users/luctrudeau/repos","events_url":"https://api.github.com/users/luctrudeau/events{/privacy}","received_events_url":"https://api.github.com/users/luctrudeau/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-01T00:52:29Z","updated_at":"2015-07-05T06:22:30Z","closed_at":"2015-07-04T16:22:07Z","pull_request":{"url":"https://api.github.com/repos/NanoHttpd/nanohttpd/pulls/203","html_url":"https://github.com/NanoHttpd/nanohttpd/pull/203","diff_url":"https://github.com/NanoHttpd/nanohttpd/pull/203.diff","patch_url":"https://github.com/NanoHttpd/nanohttpd/pull/203.patch"},"body":"HLS (http://fr.wikipedia.org/wiki/HTTP_Live_Streaming) can be implemented using SimpleWebServer by hosting m3u8 files and the corresponding mpeg-2 TS fragements. All that is missing are the mime types. The mime type for m3u8 is application/vnd.apple.mpegurl (https://tools.ietf.org/html/draft-pantos-http-live-streaming-04#section-3.1)  and the mime type for .ts is \"video/mp2t\" (ref: http://tools.ietf.org/html/rfc3555#page-38).\r\n\r\nQuestion: Is it possible to force the m3u8 to be sent as utf-8?"},"comment":{"url":"https://api.github.com/repos/NanoHttpd/nanohttpd/issues/comments/118584766","html_url":"https://github.com/NanoHttpd/nanohttpd/pull/203#issuecomment-118584766","issue_url":"https://api.github.com/repos/NanoHttpd/nanohttpd/issues/203","id":118584766,"user":{"login":"ritchieGitHub","id":9456779,"avatar_url":"https://avatars.githubusercontent.com/u/9456779?v=3","gravatar_id":"","url":"https://api.github.com/users/ritchieGitHub","html_url":"https://github.com/ritchieGitHub","followers_url":"https://api.github.com/users/ritchieGitHub/followers","following_url":"https://api.github.com/users/ritchieGitHub/following{/other_user}","gists_url":"https://api.github.com/users/ritchieGitHub/gists{/gist_id}","starred_url":"https://api.github.com/users/ritchieGitHub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ritchieGitHub/subscriptions","organizations_url":"https://api.github.com/users/ritchieGitHub/orgs","repos_url":"https://api.github.com/users/ritchieGitHub/repos","events_url":"https://api.github.com/users/ritchieGitHub/events{/privacy}","received_events_url":"https://api.github.com/users/ritchieGitHub/received_events","type":"User","site_admin":false},"created_at":"2015-07-05T06:22:30Z","updated_at":"2015-07-05T06:22:30Z","body":"@luctrudeau nice to hear that, but I hope you are not teaching to write such big classes ;-) \r\nNanohttpd is a very special case because we made it a chalange to use just one class..\r\n\r\n@elonen yes you are right, what about a file in the root directory that is being served called additional.minetypes? I know normally we should not do any config in files, but maybe this is a special case? \r\n  "}}