accept

fun accept(vararg contentTypes: ContentType)

Adds accepted content types. Be aware that ContentType.Application.Json accepted by default is removed from the list if you use this function to provide accepted content types. It also affects Accept request header value.