diff --git a/nicegui/air.py b/nicegui/air.py index ffa8233f0..e7c249e96 100644 --- a/nicegui/air.py +++ b/nicegui/air.py @@ -59,6 +59,7 @@ async def _handle_http(data: Dict[str, Any]) -> Dict[str, Any]: content=data['body'], ) response = await self.client.send(request) + self.client.cookies.clear() instance_id = data['instance-id'] content = response.content.replace( b'const extraHeaders = {};',