w
Size: a a a
w
TY
PП
НВ
w
TY
headder = {
'realm': 'antsvision.com',
}
ip = '192.168.1.188'
responce = requests.get('http://192.168.1.188/digest/frmUserLogin', auth=HTTPDigestAuth('admin', ''), headers=headder)TY
НВ
w
СВ

'det' подевался?SA
TY
{Authorization: {'X-Digest username': 'admin', 'realm': 'antsvision.com'}} must be of type str or bytes, not <class 'dict'>TY
TY
header = {
"Authorization" : 'X-Digest username="admin", realm="antsvision.com"'
}TY
KeyError: 'realm'PП
TY
RC