Skip to content

Commit

Permalink
Merge pull request #247 from gisce/non_verify_p0_or_29_ssl_request
Browse files Browse the repository at this point in the history
No verificar estado SSL del host destino al solicitar el proceso P0 y el 29
  • Loading branch information
eberloso authored May 29, 2024
2 parents 76aeda9 + e96187e commit 281bd3d
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 281bd3d

Please sign in to comment.