Add content-type default headers with application/json

This commit is contained in:
Honza Král
2017-02-08 20:47:57 +01:00
parent c7441e9dc0
commit d862c8a799
7 changed files with 22 additions and 7 deletions
@@ -5,4 +5,4 @@ from . import ElasticsearchTestCase
class TestUnicode(ElasticsearchTestCase):
def test_indices_analyze(self):
self.client.indices.analyze(body='привет')
self.client.indices.analyze(body='{"text": "привет"}')