getHeaderByName

open fun getHeaderByName(name: String): String

Get the value for the specified response header field. The Referer value cannot be retrieved using this method. Use getHeaderMap instead if there might be multiple values.

Return

The header value.

Parameters

name

The header name.