toHttpString
fun <Error class: unknown class>.toHttpString(valueToString: (String, String) -> String? = { name, value -> value }): <Error class: unknown class>
Returns a string representation for this Headers that is similar to how it would appear in an HTTP/1.1 response. valueToString can be used to control how header values appear, or whether they appear at all, in the returned string. You can use this to hide/exclude sensitive headers.