mergeContentTypes

abstract fun mergeContentTypes(registeredContentTypes: List<ContentType>, acceptHeaders: List<String>): Sequence<ContentType>(source)

Returns the content types that should be appended to the Accept header.

Report a problem

Parameters

registeredContentTypes

the content types from all active converter registrations

acceptHeaders

the Accept header values already present on the request