withReplacedParameter

fun withReplacedParameter(name: String, value: String): HttpAuthHeader.Parameterized

Copies this Parameterized replacing parameters with name assigning new value or appending if no such parameters found. If there were several pairs they will be reduced into a single pair at position of first occurrence discarding following pairs with this name.