Extensions for kotlin.collections.Iterable

toHeaderParamsList

fun Iterable<Pair<String, String>>.toHeaderParamsList(): List<HeaderValueParam>

Construct a list of HeaderValueParam from an iterable of pairs