Skip to content

Commit 619e7eb

Browse files
Armagnachonzakral
authored andcommitted
Use GET in scroll to enable method-based access control
1 parent 4d37a54 commit 619e7eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elasticsearch/client/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ def scroll(self, scroll_id, params=None):
552552
:arg scroll: Specify how long a consistent view of the index should be
553553
maintained for scrolled search
554554
"""
555-
_, data = self.transport.perform_request('POST', _make_path('_search', 'scroll'),
555+
_, data = self.transport.perform_request('GET', '/_search/scroll',
556556
params=params, body=scroll_id)
557557
return data
558558

0 commit comments

Comments
 (0)