fix(client): Strip cookies from responses to avoid falsely raising CSRF errors

This commit is contained in:
Chris Coutinho
2025-08-08 21:03:16 +02:00
parent f852a18b12
commit 3836534205
4 changed files with 94 additions and 11 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ from nextcloud_mcp_server.client import NextcloudClient
logger = logging.getLogger(__name__)
@pytest.fixture(scope="module")
@pytest.fixture(scope="session")
async def nc_client() -> AsyncGenerator[NextcloudClient, Any]:
"""
Fixture to create a NextcloudClient instance for integration tests.