Skip to content

Commit

Permalink
Always set ImpalaHttpClient.__preserve_all_cookies (cloudera#553)
Browse files Browse the repository at this point in the history
The issue was introduced in cloudera#542.
Caught by Impala's LdapImpylaHttpTest.
  • Loading branch information
csringhofer authored Sep 7, 2024
1 parent ea5db6c commit 3955213
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions impala/_thrift_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ def __init__(self, uri_or_host, port=None, path=None, cafile=None, cert_file=Non
self.__http_cookie_dict = dict()
self.__auth_cookie_names = set()
else:
self.__preserve_all_cookies = False
if isinstance(http_cookie_names, six.string_types):
http_cookie_names = [http_cookie_names]
# Build a dictionary that maps cookie name to namedtuple.
Expand Down

0 comments on commit 3955213

Please sign in to comment.