Skip to content

Commit

Permalink
Dont verify ssl status on P0 or 29 process request
Browse files Browse the repository at this point in the history
  • Loading branch information
BellaCs committed May 29, 2024
1 parent 76aeda9 commit e96187e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gestionatr/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def request_atr_29(url, user, password, xml_str=None, params=None):
# Send request
h = headers.copy()
h.update(envelop['extra_headers'])
res = requests.post(url, data=soap_content, headers=h, auth=(user, password))
res = requests.post(url, data=soap_content, headers=h, auth=(user, password), verify=False)
res = res.content
try:
def find_child(element, child_name):
Expand Down Expand Up @@ -225,7 +225,7 @@ def request_p0(url, user, password, xml_str=None, params=None):
# Send request
h = headers.copy()
h.update(envelop['extra_headers'])
res = requests.post(url, data=soap_content, headers=h, auth=(user, password))
res = requests.post(url, data=soap_content, headers=h, auth=(user, password), verify=False)
res = res.content
try:
def find_child(element, child_name):
Expand Down

0 comments on commit e96187e

Please sign in to comment.