We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a549310 commit 549473bCopy full SHA for 549473b
splunklib/binding.py
@@ -447,7 +447,7 @@ def connect(self):
447
import splunklib.binding as binding
448
c = binding.connect(...)
449
socket = c.connect()
450
- socket.write("POST %s HTTP/1.1\\r\\n" % c._abspath("some/path/to/post/to"))
+ socket.write("POST %s HTTP/1.1\\r\\n" % "some/path/to/post/to")
451
socket.write("Host: %s:%s\\r\\n" % (c.host, c.port))
452
socket.write("Accept-Encoding: identity\\r\\n")
453
socket.write("Authorization: %s\\r\\n" % c.token)
0 commit comments