header

fun header(name: String, value: String): RequestMatch(source)

A request carrying a header name (ASCII case-insensitive) with exactly value among its values.

Return

the match.

Parameters

name

the header name.

value

the value one of the entries must equal.