valueOf

fun List<HttpHeader>.valueOf(name: String): String?

Get the value of the "name" header. HTTP header names are case insensitive, see https://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2

Parameters

name

: the name of the header