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 58017b1 commit f8ca7f2Copy full SHA for f8ca7f2
ddtrace/internal/agent.py
@@ -153,7 +153,7 @@ def info():
153
agent_url = get_trace_url()
154
_conn = get_connection(agent_url, timeout=get_trace_agent_timeout())
155
try:
156
- _conn.request("GET", "info", "{}", {"content-type": "application/json"})
+ _conn.request("GET", "info", headers={"content-type": "application/json"})
157
resp = _conn.getresponse()
158
data = resp.read()
159
finally:
0 commit comments