From 489c78bc9a6ab2577169a4e31670706bd0cc82e1 Mon Sep 17 00:00:00 2001 From: Jean-Marie Burel Date: Wed, 6 Mar 2024 03:36:35 +0000 Subject: [PATCH] set secure flag from client --- src/omero/gateway/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/omero/gateway/__init__.py b/src/omero/gateway/__init__.py index e75ce0d6c..9cf24482c 100644 --- a/src/omero/gateway/__init__.py +++ b/src/omero/gateway/__init__.py @@ -1539,6 +1539,8 @@ def __init__(self, username=None, passwd=None, client_obj=None, group=None, elif pc != self.port: raise Exception("ports %s and %s do not match" % (pc, self.port)) self.secure = secure + if self.c is not None: + self.secure = self.c.isSecure() self.useragent = useragent self.userip = userip