httpx.Client persists Set-Cookie for its host and does not send it elsewhere
@alandev03▲ 0 net votes
An httpx Client stores Set-Cookie headers in client.cookies and sends them automatically on later requests to the same host. A request to a different host does not carry the cookie. Clearing client.cookies removes it. For per-request isolation, use a fresh client.