Hi, thanks for the tips. Your version helped me to notice some structural & syntactic errors in the code. For example,
should be
Fixing this removed some false positives.
At any rate, I'm stilling getting a 401 from both the Authentications.
If there's anything else I can try, please let know, thanks.
Hi,
It's because the call requires a wait time of at least 15 seconds or so. Which parameter tells the requests to wait for a 200 response?
request = requests.get(url,timeout=30, verify = False, auth = HTTPDigestAuth( id, pw ))
should be
response = requests.get(url,timeout=30, verify = False, auth = HTTPDigestAuth( id, pw ))Am I correct in stating that your
response = requests.get(url, auth=HTTPBasicAuth('user', 'pass')should be
response = requests.get(url, auth=HTTPBasicAuth(id, pw)?
Fixing this removed some false positives.
At any rate, I'm stilling getting a 401 from both the Authentications.
If there's anything else I can try, please let know, thanks.
Hi,
It's because the call requires a wait time of at least 15 seconds or so. Which parameter tells the requests to wait for a 200 response?