ktor-client-core / io.ktor.client.request / accept

accept

fun HttpRequestBuilder.accept(contentType: ContentType): Unit

Sets the Accept header with a specific contentType.