May be we can move this to a method in ServerRequest, say getPreferredResponseType