Skip to content
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

Server compatibility hints #402

Open
tobixen opened this issue Jun 8, 2024 · 0 comments
Open

Server compatibility hints #402

tobixen opened this issue Jun 8, 2024 · 0 comments
Milestone

Comments

@tobixen
Copy link
Member

tobixen commented Jun 8, 2024

This is something I have been considering for a long time - I'm a bit surprised that I haven't created an issue on it yet (or perhaps I forgot about it and didn't search well enough).

  • DAVClient constructor should have a server_compatibility_hints, probably a dict, probably more or less built over the definitions in place under tests.compabiliiy_issues.
  • In some cases, the library should work around known compatibility-problems, for instance filtering searches on the client side.
  • In other cases, it should raise an error (perhaps a new ServerCompatibilityError) if it's to be expected that the server won't manage to fulfill a request.
  • The current tests.compabiliiy_issues should be retired, and tests should honor the server_compatibility_hints instead.

(See also #401 and others)

I think this should be prioritized, but 1.3.10 or 1.4.0 is overdue, so it won't be dealt with until after the release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant