Skip to content

Follow PROPFIND redirects #552

@ghost

Description

Thank you for creating this library, I'm using it extensively and it works well for me.

I was wondering, if we can document the fact that certain Caldav servers return users to a different path on first PROPFIND.

For example, with the GMX provider (not sure which server implementation), I'm redirected to a sub-path (/begenda/dav/users) when doing a PROPFIND on the URI that is documented by the provider:

$ curl -XPROPFIND -vL https://caldav.gmx.net
...

< HTTP/2 302
< content-type: text/html
< date: Sat, 20 Sep 2025 20:10:46 GMT
< location: https://caldav.gmx.net/begenda/dav/users/

The login is only successful, when configured with that particular URI (not https://caldav.gmx.net):

Can we:

  1. Document the behavior?
  2. Implement an additional PROPFIND (to check the 302) before the first auth?

(1) is probably straight forward.

(2) will probably depend on the exact implementation in davclient.py the the standards..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions