{"action":"created","issue":{"url":"https://api.github.com/repos/http4s/http4s/issues/322","labels_url":"https://api.github.com/repos/http4s/http4s/issues/322/labels{/name}","comments_url":"https://api.github.com/repos/http4s/http4s/issues/322/comments","events_url":"https://api.github.com/repos/http4s/http4s/issues/322/events","html_url":"https://github.com/http4s/http4s/issues/322","id":91976431,"number":322,"title":"Consider using alternative to `Files.probeContentType` for static content mime type","user":{"login":"stephenjudkins","id":8593,"avatar_url":"https://avatars.githubusercontent.com/u/8593?v=3","gravatar_id":"","url":"https://api.github.com/users/stephenjudkins","html_url":"https://github.com/stephenjudkins","followers_url":"https://api.github.com/users/stephenjudkins/followers","following_url":"https://api.github.com/users/stephenjudkins/following{/other_user}","gists_url":"https://api.github.com/users/stephenjudkins/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenjudkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenjudkins/subscriptions","organizations_url":"https://api.github.com/users/stephenjudkins/orgs","repos_url":"https://api.github.com/users/stephenjudkins/repos","events_url":"https://api.github.com/users/stephenjudkins/events{/privacy}","received_events_url":"https://api.github.com/users/stephenjudkins/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/http4s/http4s/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/http4s/http4s/milestones/4","html_url":"https://github.com/http4s/http4s/milestones/1.0","labels_url":"https://api.github.com/repos/http4s/http4s/milestones/4/labels","id":839283,"number":4,"title":"1.0","description":"This is the big one.  This release will come with compatibility and stability promises heretofore unseen.  Any issues that we foresee require a breaking change should be here.\r\n\r\nIt is normal to move up issues assigned to this release.  This is to be interpreted as \"no later than 1.0.\"","creator":{"login":"bryce-anderson","id":2948506,"avatar_url":"https://avatars.githubusercontent.com/u/2948506?v=3","gravatar_id":"","url":"https://api.github.com/users/bryce-anderson","html_url":"https://github.com/bryce-anderson","followers_url":"https://api.github.com/users/bryce-anderson/followers","following_url":"https://api.github.com/users/bryce-anderson/following{/other_user}","gists_url":"https://api.github.com/users/bryce-anderson/gists{/gist_id}","starred_url":"https://api.github.com/users/bryce-anderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryce-anderson/subscriptions","organizations_url":"https://api.github.com/users/bryce-anderson/orgs","repos_url":"https://api.github.com/users/bryce-anderson/repos","events_url":"https://api.github.com/users/bryce-anderson/events{/privacy}","received_events_url":"https://api.github.com/users/bryce-anderson/received_events","type":"User","site_admin":false},"open_issues":20,"closed_issues":1,"state":"open","created_at":"2014-10-24T17:01:26Z","updated_at":"2015-07-16T21:01:09Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-06-30T04:20:30Z","updated_at":"2015-08-05T15:56:05Z","closed_at":null,"body":"It turns out that the implementation is buggy, not standard across platforms, and depends on `~/.mime.types` files. I'd argue that, since we have file extensions already in `MediaType`, guessing content types from that would be a preferable approach."},"comment":{"url":"https://api.github.com/repos/http4s/http4s/issues/comments/128048440","html_url":"https://github.com/http4s/http4s/issues/322#issuecomment-128048440","issue_url":"https://api.github.com/repos/http4s/http4s/issues/322","id":128048440,"user":{"login":"ShengC","id":940628,"avatar_url":"https://avatars.githubusercontent.com/u/940628?v=3","gravatar_id":"","url":"https://api.github.com/users/ShengC","html_url":"https://github.com/ShengC","followers_url":"https://api.github.com/users/ShengC/followers","following_url":"https://api.github.com/users/ShengC/following{/other_user}","gists_url":"https://api.github.com/users/ShengC/gists{/gist_id}","starred_url":"https://api.github.com/users/ShengC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShengC/subscriptions","organizations_url":"https://api.github.com/users/ShengC/orgs","repos_url":"https://api.github.com/users/ShengC/repos","events_url":"https://api.github.com/users/ShengC/events{/privacy}","received_events_url":"https://api.github.com/users/ShengC/received_events","type":"User","site_admin":false},"created_at":"2015-08-05T15:56:05Z","updated_at":"2015-08-05T15:56:05Z","body":"I think we should be pragmatic and \"choose bad over worse\" in this case, which essentially means using`MediaType.forExtension` consistently across the code base until `jdk` can fix the buggy `probeContentType`. I am not a big fan of introducing another library just for the sake of determining the mime type. "}}