From 6bb9807e8ff7121eb0196a6703d40b826edc585d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Honza=20Kr=C3=A1l?= Date: Mon, 20 Jan 2014 18:55:40 +0100 Subject: [PATCH] Format is another parameter accepted by all APIs --- elasticsearch/client/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elasticsearch/client/utils.py b/elasticsearch/client/utils.py index fc33c43b..6d9a1d68 100644 --- a/elasticsearch/client/utils.py +++ b/elasticsearch/client/utils.py @@ -49,7 +49,7 @@ def _make_path(*parts): quote_plus(_escape(p), ',*') for p in parts if p not in SKIP_IN_PATH) # parameters that apply to all methods -GLOBAL_PARAMS = ('pretty', ) +GLOBAL_PARAMS = ('pretty', 'format', ) def query_params(*es_query_params): """