Dispatch over content-type to allow types such as "text/html; charset=utf-8"