headerEquals

fun headerEquals(name: String, value: String): Boolean

Checks whether the header @name is present in @hdrs and is (case-insensitively) equal to @value.

Return

true if the header is present and its value is

Parameters

name

header name

value

expected value