Skip to content

Commit 7510255

Browse files
committed
Removing cookie code
Signed-off-by: Ben Cassell <[email protected]>
1 parent 84c49b1 commit 7510255

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/databricks/sql/auth/thrift_http_client.py

-5
Original file line numberDiff line numberDiff line change
@@ -189,11 +189,6 @@ def flush(self):
189189
self.message = self.__resp.reason
190190
self.headers = self.__resp.headers
191191

192-
# Saves the cookie sent by the server response
193-
if "Set-Cookie" in self.headers:
194-
self._headers["Cookie"] = self.headers["Set-Cookie"]
195-
self.setCustomHeaders(self._headers)
196-
197192
@staticmethod
198193
def basic_proxy_auth_header(proxy):
199194
if proxy is None or not proxy.username:

0 commit comments

Comments
 (0)