Use Rack::Accept::MediaType for mime type check

although `Rack::Accept::Charset` works, `Rack::Accept::MediaType` seems to be the "correct way" of testing against mime types.