Proper verification of the request's accepted media types. Uses the new function mochiweb_request:accepts_content_type/1.