-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't works with Synology CardDAV Server #24
Comments
Method get() will only list all vCards + Properties (with method PROPFIND). As per RFC PROPFIND has to have a header-element "Depth" with value "0", "1" or "infinity" (sending NO header "Depth" the server has to assume its "infinity"). Server must answer Depth=0 or 1, but only SHOULD answer to "infinity". Solving the problem is simply adding a header-element "Depth: 1"; shouldn't affect other servers. Just replace Line 621: Thx for the project! |
So ... after another almost 4 years I thought I'd spare people the hassle getting this module to work with a Synology ;-) @mvwd 's addition worked like a charm, YET - when using Solution: In Line 268 (First line in function get) replace This might also solve the problem described in #27. Additionally, for my Synology DS218+, I needed to specify the addressbook's-URL in full, e.g.: Thanks for the great project @christian-putzke and @mvwd for the nudge in the right direction! Kai |
Here my code:
And the error:
The text was updated successfully, but these errors were encountered: