Split a raw Set-Cookie header value (or collapsed multi-value string) into individual cookie strings.
This is non-trivial because:
Strategy: Token-based state machine that properly handles:
foo="bar,baz"
foo="bar\"baz"
Raw Set-Cookie header string (possibly containing multiple cookies)
Array of individual Set-Cookie strings
Split a raw Set-Cookie header value (or collapsed multi-value string) into individual cookie strings.
This is non-trivial because:
Strategy: Token-based state machine that properly handles:
foo="bar,baz")foo="bar\"baz")