#24 rewrite parseContentType using papillon