Set-Cookie

Sends one or more cookies from the server to the client for storage and subsequent transmission. Each Set-Cookie header sets a single cookie with optional attributes: `Expires`/`Max-Age` (lifetime), `Domain`, `Path` (scope), `Secure` (HTTPS only), `HttpOnly` (inaccessible to JS), `SameSite` (Strict/Lax/None — controls cross-site sending). Modern security best practices require `Secure`, `HttpOnly`, and `SameSite=Strict` or `Lax` on session cookies. The `SameSite=None` + `Secure` combination is required for cross-site cookies (e.g., third-party embeds).

Part of GalacticaSuite Cosmos — open the API client to test requests.