splunk-sdk-python
splunk-sdk-python copied to clipboard
TypeError when adding cookie header
Describe the bug In line 547 when adding the Cookie header, it is not appending it as a tuple and is instead sending two arguments directly to list.append. This results in an error:
TypeError: append() takes exactly one argument (2 given)
You can see in line 545 another header being appended as a tuple.
To Reproduce Have cookies without an auth token.
Expected behavior Cookie is appended as a tuple
Splunk (please complete the following information):
- Version: 8.2.6
- OS: Ubuntu 22.04
- Deployment: single-instance
SDK (please complete the following information):
- Version: 1.7.0
I was looking at how to submit a PR and browsed through the dev branch and saw this is fixed already. Closing.