From b258996030e686fbac35210e35be5e35dfaee5c5 Mon Sep 17 00:00:00 2001 From: paulmwatson Date: Wed, 15 May 2024 14:34:43 +0200 Subject: [PATCH] Fix WriteInPublic Client SSL issue --- pombola/writeinpublic/client.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pombola/writeinpublic/client.py b/pombola/writeinpublic/client.py index d525f3d19..c01141d10 100644 --- a/pombola/writeinpublic/client.py +++ b/pombola/writeinpublic/client.py @@ -64,7 +64,7 @@ def create_message(self, author_name, author_email, subject, content, persons): 'persons': person_uris, } try: - response = requests.post(url, json=payload, params=params) + response = requests.post(url, json=payload, params=params, verify=False) response.raise_for_status() return response except requests.exceptions.RequestException as err: @@ -78,7 +78,7 @@ def get_message(self, message_id): 'api_key': self.api_key, } try: - response = requests.get(url, params=params) + response = requests.get(url, params=params, verify=False) response.raise_for_status() return Message(response.json(), adapter=self.adapter) except requests.exceptions.RequestException as err: @@ -123,7 +123,7 @@ def get_person(self, person, filters=None): } params.update(filters) try: - response = requests.get(url, params=params) + response = requests.get(url, params=params, verify=False) if response.status_code == 404: return [] response.raise_for_status()