diff --git a/package-mac/source/ebi/equellaclient41.py b/package-mac/source/ebi/equellaclient41.py index 3302fb4..07433bb 100644 --- a/package-mac/source/ebi/equellaclient41.py +++ b/package-mac/source/ebi/equellaclient41.py @@ -259,12 +259,7 @@ def _call (self, name, args, returns=1, facade=SOAP_ENDPOINT_V41, ns='http://soa headers = {} cookie = responseInfo.getheader('set-cookie') if cookie is not None: - for cookie_part in cookie.split(','): - for cookie_name in cookie_part.split(','): - if not cookie_name.upper().split("=")[0].strip() in ["PATH", "DOMAIN", "EXPIRES", "SECURE", - "HTTPONLY"]: - # save cookie - self._cookieJar.append(cookie_name) + self._cookieJar = cookie.split(',') if self.owner.networkLogging: self.owner.echo("HTTP RESPONSE:\n") diff --git a/source/equellaclient41.py b/source/equellaclient41.py index 3302fb4..07433bb 100644 --- a/source/equellaclient41.py +++ b/source/equellaclient41.py @@ -259,12 +259,7 @@ def _call (self, name, args, returns=1, facade=SOAP_ENDPOINT_V41, ns='http://soa headers = {} cookie = responseInfo.getheader('set-cookie') if cookie is not None: - for cookie_part in cookie.split(','): - for cookie_name in cookie_part.split(','): - if not cookie_name.upper().split("=")[0].strip() in ["PATH", "DOMAIN", "EXPIRES", "SECURE", - "HTTPONLY"]: - # save cookie - self._cookieJar.append(cookie_name) + self._cookieJar = cookie.split(',') if self.owner.networkLogging: self.owner.echo("HTTP RESPONSE:\n")