splunk / splunk-sdk-python

Splunk Software Development Kit for Python
http://dev.splunk.com
Apache License 2.0
687 stars 369 forks source link

TypeError when adding cookie header #476

Closed chrisbalmer closed 2 years ago

chrisbalmer commented 2 years ago

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):

SDK (please complete the following information):

chrisbalmer commented 2 years ago

I was looking at how to submit a PR and browsed through the dev branch and saw this is fixed already. Closing.