csrfClient property
WebDavCSRFClient
csrfClient
final
When sending a request with cookies a CSRF token is also needed. In theory this should not be required as long as we send the OCS-APIRequest header, but the server has a bug that only triggers when you also send the cookies.
Implementation
// TODO: Fix this bug in server.
final WebDavCSRFClient csrfClient;