Skip to content

Commit 7fade51

Browse files
authored
Fix cookie setting (#379)
* fix cookie setting Signed-off-by: Ben Cassell <[email protected]> * Removing cookie code Signed-off-by: Ben Cassell <[email protected]> --------- Signed-off-by: Ben Cassell <[email protected]>
1 parent 64c71fb commit 7fade51

File tree

2 files changed

+424
-264
lines changed

2 files changed

+424
-264
lines changed

src/databricks/sql/auth/thrift_http_client.py

-4
Original file line numberDiff line numberDiff line change
@@ -189,10 +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.setCustomHeaders(dict("Cookie", self.headers["Set-Cookie"]))
195-
196192
@staticmethod
197193
def basic_proxy_auth_header(proxy):
198194
if proxy is None or not proxy.username:

0 commit comments

Comments
 (0)