Do we want a `$` on the end of this so it doesn't match `a/b/c`? Also, I know at least `.` is valid in the second part of mimetypes; I'm not sure what other characters may be.