Keep two Set-Cookie fields separate
Example input
HTTP/1.1 200 OK
Set-Cookie: theme=dark
Set-Cookie: locale=esExpected result
set-cookie: [theme=dark, locale=es]The summary represents two preserved values under one case-insensitive header name. Do not collapse them into a comma-joined cookie value when reproducing a response. For a real investigation, compare the full values, including Path, SameSite and other attributes. Header names are case-insensitive, while the interpretation of values depends on the individual header specification.