We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96eb5dd commit abe81bfCopy full SHA for abe81bf
elasticsearch_serverless/_sync/client/_base.py
@@ -42,9 +42,7 @@
42
from .utils import _base64_auth_header, _quote_query
43
44
_WARNING_RE = re.compile(r"\"([^\"]*)\"")
45
-_COMPAT_MIMETYPE_TEMPLATE = "application/vnd.elasticsearch+%s; compatible-with=" + str(
46
- __versionstr__.partition(".")[0]
47
-)
+_COMPAT_MIMETYPE_TEMPLATE = "application/vnd.elasticsearch+%s; compatible-with=8"
48
_COMPAT_MIMETYPE_RE = re.compile(r"application/(json|x-ndjson|vnd\.mapbox-vector-tile)")
49
_COMPAT_MIMETYPE_SUB = _COMPAT_MIMETYPE_TEMPLATE % (r"\g<1>",)
50
0 commit comments