Add content-type default headers with application/json
This commit is contained in:
@@ -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": "привет"}')
|
||||
|
||||
Reference in New Issue
Block a user