mirror of https://gitlab.com/bashrc2/epicyon
Debug
parent
7cbc4cdda7
commit
89f59fa71c
|
@ -98,6 +98,8 @@ def _getJsonRequest(session, url: str, domainFull: str, sessionHeaders: {},
|
||||||
if not signingPrivateKeyPem:
|
if not signingPrivateKeyPem:
|
||||||
print("WARN: getJson requires secure fetch url: " + url)
|
print("WARN: getJson requires secure fetch url: " + url)
|
||||||
else:
|
else:
|
||||||
|
if debug:
|
||||||
|
print('Using signed GET')
|
||||||
return _getJsonSigned(session, url, domainFull,
|
return _getJsonSigned(session, url, domainFull,
|
||||||
sessionHeaders, sessionParams,
|
sessionHeaders, sessionParams,
|
||||||
timeoutSec, signingPrivateKeyPem,
|
timeoutSec, signingPrivateKeyPem,
|
||||||
|
|
Loading…
Reference in New Issue