Skip to content

Commit a78aace

Browse files
committed
fix #9
1 parent a8d495a commit a78aace

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pierky/p2es/es.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def http(CONFIG, url, method="GET", data=None):
1919
'Unexpected authentication type: {}'.format(CONFIG['ES_AuthType'])
2020
)
2121

22-
headers = {'Content-Type': 'application/x-ndjson'}
22+
headers = {'Content-Type': 'application/json'}
2323

2424
if method == "GET":
2525
return requests.get(url, auth=auth, headers=headers)

0 commit comments

Comments
 (0)