Downloader Integration lacks Authentication Options

It appears that the downloader integration only supports Basic Authentication. I had hoped to use this integration to download recordings from cameras using their http API which requires Digest Authentication. Even when the URL contains the credentials, downloader is unable to properly authenticate via Digest.

The downloader code is using python ‘requests’ in it’s “basic” form:
req = requests.get(url, stream=True, timeout=10)

Per python-requests docs -

Digest Authentication

Another very popular form of HTTP Authentication is Digest Authentication, and Requests supports this out of the box as well:

from requests.auth import HTTPDigestAuth >>> url = ‘https://httpbin.org/digest-auth/auth/user/pass’ >>> requests.get(url, auth=HTTPDigestAuth(‘user’, ‘pass’)) <Response [200]>

This feature request is to add new options to specify authentication method, particularly Digest (along with userid and password). Other auth methods could be added as well.

Config Flow UI would also need to be added.