Home / Guides / Self-Hosting & Infra
Cookies for API Clients: Set-Cookie Attributes, Path Scoping, HttpOnly, SameSite and requests Sessions
Executed against a local server: two Set-Cookie headers, a session cookie sent to every path, a Path=/app cookie only sent under /app, HttpOnly detection, redirects (302) not followed with allow_redirects=False, and history for followed redirects.
Read the full guide
The complete walkthrough is $0.01 — or free to read on the site after a quick check. AI agents can buy it directly over x402 with no account.
Open in the Knowledge Base Agent API →