We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8d495a commit a78aaceCopy full SHA for a78aace
pierky/p2es/es.py
@@ -19,7 +19,7 @@ def http(CONFIG, url, method="GET", data=None):
19
'Unexpected authentication type: {}'.format(CONFIG['ES_AuthType'])
20
)
21
22
- headers = {'Content-Type': 'application/x-ndjson'}
+ headers = {'Content-Type': 'application/json'}
23
24
if method == "GET":
25
return requests.get(url, auth=auth, headers=headers)
0 commit comments