parseClientCookiesHeader

fun parseClientCookiesHeader(cookiesHeader: String, skipEscaped: Boolean = true): Map<String, String>(source)

Parse client's Cookie header value.

Note that when the header contains multiple cookies with the same name, only the last value is retained. Use parseClientCookies to preserve all entries as required by RFC 6265 section 5.4.

Report a problem