method DrashRequest.prototype.acceptsimport { DrashRequest } from "https://deno.land/x/drash@v2.7.0/src/http/request.ts"; accepts(contentType: string): booleanCheck if the content type in question are accepted by the request. ParameterscontentType: string A proper MIME type. See /src/dictionaries/mime_db.ts for proper MIME types that Drash can handle. ReturnsbooleanTrue if yes, false if no.