Skip to content

Commit

Permalink
fixed get headers logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Trek333 committed Oct 24, 2022
1 parent 1cd8076 commit 2fa7723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_binding.py
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ def urllib2_insert_cookie_handler(url, message, **kwargs):
# Mimic the insertion of 3rd party cookies into the response.
# An example is "sticky session"/"insert cookie" persistence
# of a load balancer for a SHC.
header_list = response.getheaders()
header_list = [(k, v) for k, v in response.info().items()]
header_list.append(("Set-Cookie", "BIGipServer_splunk-shc-8089=1234567890.12345.0000; path=/; Httponly; Secure"))
header_list.append(("Set-Cookie", "home_made=yummy"))

Expand Down

0 comments on commit 2fa7723

Please # to comment.