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

Current way of setting type via keyword is not flexible enough, in my case I needed `text/html; charset=utf-8` so such modification came handy. (Unless of course I missed some other way of setting it;) )