Jun-05-2017, 12:43 AM
Hello,
According to the documentation for requests:
netrc Authentication
If no authentication method is given with the auth argument, Requests will attempt to get the authentication credentials for the URL's hostname from the user's netrc file. The netrc file overrides raw HTTP authentication headers set with headers=.
If credentials for the hostname are found, the request is sent with HTTP Basic Auth.
I like to use ~/.netrc with Digest auth not with Basic how can i achieve that.
According to the documentation for requests:
netrc Authentication
If no authentication method is given with the auth argument, Requests will attempt to get the authentication credentials for the URL's hostname from the user's netrc file. The netrc file overrides raw HTTP authentication headers set with headers=.
If credentials for the hostname are found, the request is sent with HTTP Basic Auth.
I like to use ~/.netrc with Digest auth not with Basic how can i achieve that.