accepting

infix fun String.accepting(contentType: ContentType): Router(source)

Ensure the request is accepting a specific content type