sanitizeHeader

fun sanitizeHeader(predicate: (String) -> Boolean)

Redact matching headers with a visible placeholder. Matches on the header name. Authorization, Cookie and Set-Cookie are always redacted on top of these.