Closed fleimgruber closed 8 months ago
You can pass auth=
to Client
or WebdavFileSystem
.
auth = httpx.DigestAuth("my_user", "password123")
client = Client(..., auth=auth)
# or,
fs = WebdavFileSystem(..., auth=auth)
See HTTPX Authentication. You can also implement custom flow if you need, see Customizing Authentication - httpx.
Thanks for the quick answer and solution example, will test with that. Maybe the docs could contain a section with high-level aspects that are handled by dependencies? In any case, I think mentioning httpx
somewhere would also catch a lot of people that are in skimming-mode to find a WebDAV library for their requirements.
I could not find any option to use "Digest" authentication instead of "Basic" authentication (http://www.webdav.org/specs/rfc2617.html).